- Install node 12 and mongodb 4.2.
- Clone the repo.
- Run
npm i
- Run
npm run web
andnpm run api
in two separate shells. - Visit
localhost:8080
to view the app. - Visit
localhost:3001
to view the GraphQL playground.
When you commit, changed code is linted and tests are run. You won't be able to commit until those pass.
- Run
npm run test
to run tests on both the web and api projects. - Run
npm run generate
to update typings after changing the GraphQL schema.
When you have a batch of PRs merged to master:
- In master run `npm version [major|minor|patch]
- Push new commit and tag
- Add release in GitHub with description of changes and links to merged PRs
| React
Web |
| Apollo Client
|
| Apollo Server
API / \
| NAV MongoDB