Install dependencies
yarn
This will install dependencies for managing the monorepo as well as the individual packages via lerna bootstrap
.
Set up .env
files for Prisma and Auth0 connections:
<!-- TODO -->
Start app and API:
yarn start
Alternatively you can start app and server separately with yarn start:server
and yarn start:app
.
In the project directory, you can run:
yarn start
Runs the app and the server in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
The GraphQL server is proxied to /api
yarn test
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
yarn build
Builds the app and server for production to the build
folder (the server to /api/index.js
).
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.