WARNING: This project is outdated and not maintained anymore.
- react
- react-native
- react-native-web
- nextjs
- zeit.co/now
- typescriptlang.org
- graphql.org
- relay
- prisma
- nexusjs
- apollo-server
- nodejs.org 8 is required because of AWS. They don't support 10 yet.
- docker-compose
- yarnpkg.com
- prisma-cli
git clone https://github.com/este/este
cd este
yarn
yarn docker:up
yarn env dev
yarn prisma:deploy
yarn dev
start web developmentyarn dev-ios
start iOS developmentyarn dev-android
start Android developmentyarn prisma:deploy
afterprisma/datamodel.prisma
changeyarn prisma:generate
generate Prisma clientyarn prisma:delete
get rid of the whole serviceyarn gen
afterapi/schema.graphql
changeyarn env dev
copy.env.dev
to.env
yarn env prod
copy.env.prod
to.env
yarn build
local buildyarn start
local startyarn test
before commityarn deps
rimraf 'yarn.lock' 'node_modules' '**/node_modules' && yarnnow
deploy to zeit.co/now
yarn dev
, then open localhost:5000/playground and set HTTP HEADERS to{ "Authorization": "Bearer token" }
. Token is browser cookie for api andyarn prisma token
for db.- After
prisma/docker-compose.yml
change, runyarn docker:up
- To deploy local Prisma to demo server, set up Prisma with demo database, and put its endpoint to .env.prod (copy paste of .env.dev), then
yarn env prod
, thenyarn prisma:deploy
.