This project is powered by nx monorepo as an easy boilerplate for nestjs applications More info can be found here: https://nx.dev/
- Nodejs version 16 or higher
- Docker
- Run
npm install - Start infrastructure
npm run start:infra. Please do not close the terminal as we would need it for integration tests and service - Run integration tests
npm test - Start service
npm start - Open http://localhost:3333/graphql to see graphql playground
- Cannot start infra -> please check that docker is running
- Port is unavailable -> project uses 5433 for docker mapping, be sure it is available
- For product search it is better to use elastic to do fulltext search.
- Order service can be extracted to the separate application with its own DB if we are going to move into the microservices world