Skip to content

adamjq/mongodb-graphql-nestjs-template

Repository files navigation

MongoDB NestJS Starter Template

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

Requirements

Development

Run the project in Docker with:

docker-compose up

Then navigate to http://localhost:3000/

Mongo Express

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/.

Rest Client

HTTP requests can be tested locally with requests.http with the REST Client VSCode extension.

About

Starter template for services using Typescript, NestJS GraphQL and MongoDB

Topics

Resources

Stars

Watchers

Forks