Dev Environment Setup - bcgov/nr-compliance-enforcement-cm GitHub Wiki
- Add .env file to the backend directory (note: file is attached, and needs to be renamed to .env)
- Run the command
docker-compose up
. For development purposes, you'll likely just want to start the database and migrations containers via docker-compose, and start the backend usingnpm start
(from within the backend directory).
GraphQL Playground
Useful in development environment. Go to http://localhost:3003/graphql, and you can run queries.
e.g.
query { users { id name email } }