froze0451 / nest-rest-project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Description

NestJS + MongoDB REST-api example. Includes some validation, data transformation and custom exceptions.
Installed MongoDB required

There are two entities - user and group.

You can add user to another as a friend and also follow groups.
There are also many crud methods to use.
If you choose to delete/edit user or group - all they relations with friends/groups will update accordingly.

Installation

$ npm install
#or
$ yarn

Running the app

$ npm run start
#or
$ yarn run start

Api

# HOST browse using Postman / Insomnia or other
http://localhost:3000/

About


Languages

Language:TypeScript 96.4%Language:JavaScript 3.6%