Skip to content

1gluk/este

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Circle CI Dependency Status

Universal React. React + React Native.

Prerequisites

Setup project

  • git clone https://github.com/este/este.git este
  • cd este
  • yarn

Create dev Prisma

  • yarn prisma init YourAppName choose Demo server
  • set .env.dev PRISMA_ENDPOINT by YourAppName/prisma.yml endpoint
  • delete YourAppName directory
  • yarn env dev
  • yarn deploy:db
  • yarn prisma token generate token
  • yarn playground Set database HTTP HEADERS to { "Authorization": "Bearer token" }

Dev tasks

  • yarn dev - start web development
  • yarn 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 locally
  • yarn test
  • yarn codegen - when yarn dev is running
  • yarn deploy:db
  • yarn deploy:api
  • yarn deploy:web
  • yarn messages
  • yarn prisma --help
  • yarn prisma reset to reset DB

Add production Prisma

  • The same as Create Prisma, but use production name, .env.production file, and yarn env production.

Deploy

  • yarn deploy:db,
  • yarn deploy:api, use now generated URL for API_ENDPOINT in .env.production
  • yarn deploy:web

Links

Packages

No packages published

Languages

  • JavaScript 94.8%
  • Objective-C 2.9%
  • Python 1.3%
  • Java 1.0%