Skip to content

RESTful API for managing institutes CRUD operations. Built using NestJs, TypeScript, TypeORM and PostreSQL

Notifications You must be signed in to change notification settings

shubham-am-i/Institute-Management-API

Repository files navigation

Institute Management API

Extensive documentation with examples here

Description

Backend API for Institute Management, which is a directory website. This api is helpful in getting detailed information about institute programs, eg- what courses they offer, other details.

Features

  • Handle validation using DTOs for body parameters and params
  • Proper Error responses with message and status code
  • Encrypt user passwords with bcrypt
  • Protect sensitive routes using passport jwt strategy
  • API documentation using Postman
  • Config Schema validation using Joi
  • Used environment variables for storing sensitive keys and other configs
  • Used online PostreSQL db for storing records and TypeORM for database operations

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Screenshot from 2023-09-29 12-09-09

About

RESTful API for managing institutes CRUD operations. Built using NestJs, TypeScript, TypeORM and PostreSQL

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published