Universal React. React + React Native.
git clone https://github.com/este/este.git este
cd este
yarn
yarn prisma init YourAppName
chooseDemo server
- set
.env.dev
PRISMA_ENDPOINT byYourAppName/prisma.yml
endpoint - delete
YourAppName
directory yarn env dev
yarn deploy:db
yarn prisma token
generate tokenyarn playground
Set database HTTP HEADERS to { "Authorization": "Bearer token" }
yarn dev
- start web developmentyarn dev:ios
yarn dev:android
yarn env dev
- copy.env.dev
to.env
yarn env production
- copy.env.production
to.env
yarn production
- test production build locallyyarn test
yarn codegen
- whenyarn dev
is runningyarn deploy:db
yarn deploy:api
yarn deploy:web
yarn messages
yarn prisma --help
yarn prisma reset
to reset DB
- The same as Create Prisma, but use
production
name, .env.production file, andyarn env production
.
yarn deploy:db
,yarn deploy:api
, use now generated URL for API_ENDPOINT in .env.productionyarn deploy:web