Universal React. React + React Native.
git clone https://github.com/este/este.git estecd esteyarn
yarn docker:up-- this will spin up a docker instance of Postgres and Prisma server at http://localhost:4466yarn docker:down-- stop docker-compose servers
yarn env devyarn deploy:dbyarn prisma tokengenerate tokenyarn playgroundSet database HTTP HEADERS to { "Authorization": "Bearer token" }
yarn dev- start web developmentyarn dev:iosyarn dev:androidyarn env dev- copy.env.devto.envyarn env production- copy.env.productionto.envyarn production- test production build locallyyarn testyarn codegen- after deploy, runyarn dev, thenyarn codegenin another tab, then restartyarn devyarn deploy:dbyarn deploy:apiyarn deploy:webyarn messagesyarn prisma --helpyarn prisma resetwipes the data and keeps the schemayarn prisma deleteget rid of the whole service
- The same as Create Prisma, but use
productionname, .env.production file, andyarn env production.
yarn deploy:db,yarn deploy:api, use now generated URL for API_ENDPOINT in .env.productionyarn deploy:web