Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/valchanoficial/study-nestjs-graphql-mongodb
NestJS + MongoDB + GraphQL + Apollo
https://github.com/valchanoficial/study-nestjs-graphql-mongodb
apollo graphql mongodb nestjs typescript
Last synced: 12 days ago
JSON representation
NestJS + MongoDB + GraphQL + Apollo
- Host: GitHub
- URL: https://github.com/valchanoficial/study-nestjs-graphql-mongodb
- Owner: ValchanOficial
- Created: 2022-04-01T13:29:21.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-04-01T13:30:47.000Z (almost 3 years ago)
- Last Synced: 2024-11-09T13:20:09.532Z (2 months ago)
- Topics: apollo, graphql, mongodb, nestjs, typescript
- Language: TypeScript
- Homepage:
- Size: 106 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NestJS + MongoDB + GraphQL + Apollo
## Udemy: https://www.udemy.com/course/nestjs-zero-to-hero/
## Installation
```bash
$ npm install or yarn
```## Required:
- Docker
```bash
# MongoDB
$ docker run --name mongo -p 27017:27017 -d mongo
```## Running the app
- Rename .env.example to .env and fill in the values
```bash
# development
$ npm run start or yarn start# watch mode
$ npm run start:dev or yarn start:dev# production mode
$ npm run start:prod or yarn start:prod
```## Test
```bash
# unit tests
$ npm run test or yarn test# e2e tests
$ npm run test:e2e or yarn test:e2e# test coverage
$ npm run test:cov or yarn test:cov
```