An open API service indexing awesome lists of open source software.

https://github.com/andrewrunner/online-learning-shool

Online shool app backend api example (NestJS, TypeORM, MongoDB, GraphQL)
https://github.com/andrewrunner/online-learning-shool

backend-api graphql mongodb nestjs typeorm typescript

Last synced: 2 months ago
JSON representation

Online shool app backend api example (NestJS, TypeORM, MongoDB, GraphQL)

Awesome Lists containing this project

README

          

Simple backend api for school mamanger app;

### Use
- [NestJS](https://nestjs.com/)
- MongoDB + TypeORM
- GraphQL (graphql-tools, apollo)
- jest
- class-validator - DTO class fields validation

## Installation

```bash
$ npm install
```

## Running the app

```bash
# development
$ npm run start

# watch mode
$ npm run start:dev

# Open schema development mode
# http://localhost:3000/graphql

# production mode
$ npm run start:prod
```

## Test

```bash
# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov
```