- Clone repository
- Copy packages/server/env.default to packages/server/.env and update config.
- Navigate to project root directory
- Run
yarn
- Run
yarn build:types
- Run
yarn db:create
- Run
yarn start:server
- Run
yarn start:web
In the project directory, you can run:
Runs the server in the development mode on port 3001.
The server will reload if you make edits.
Runs the app 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.
Runs migrations to update database setup. Migrations are ran/tested against copies of our production server. Depending on your configuration, they may or may not work.
For development purposes we recommend running yarn db:create
to create a clean database.
Builds the server for production to the build
folder.\
The build is minified, and the filenames include the hashes.
Your server is ready to be deployed!
Builds the app for production to the build
folder.
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!
Attempts to automatically fix all linting issues.
Sorts imports, updates debug statements, renames alias imports.
Uses depcheck to see if we have any unused dependencies.
Runs lint to ensure all lint rules are passed.
Runs typescript to ensure we don't have any undefined or mismatched types.