First ensure you're on node version v16.15.1. .nvmrc
will enforce this version.
Recommended node version managers: n or nvm
Copy .env.example
to a new .env
file for core-service & to web/app
(required since create-react-app was never ejected)
> cp .env.example .env
> cp .env.example ./web/app/.env
Install dependencies
> yarn
Build the project
> yarn build
Optionally have the build watch for changes
> yarn build:watch
Run the core-service server (run in new tab/window/pane if running build:watch
)
> yarn start:watch
Finally boot up the React dev server and happy coding! (run in new tab/window/pane) 🎉
> yarn web
Run Lint
> yarn lint
Run tsc build for monorepo
> yarn build
Optionally build watch for changes
> yarn build:watch
Clean tsc build
> yarn build:clean
Run services (including core api server)
> yarn start
Optionally watch services while running
> yarn start:watch
Run React dev server
> yarn web
Run Tests
> yarn test