This template provides a starting template for web services based on Typescript, GraphQL, NestJS and MongoDB. Some features include:
- Typescript configuration
- Basic GraphQL API setup with NestJS
- NestJS/MongoDB configuration
- Basic Mongoose setup
- Docker setup for NodeJS and MongoDB
Run the project in Docker with:
docker-compose up
Then navigate to http://localhost:3000/
Mongo Express can be used for local development to
inspect Mongo databases. To inspect tables run docker-compose up and navigate to http://0.0.0.0:8081/.
HTTP requests can be tested locally with requests.http with the REST Client VSCode extension.