Skip to content

Hanner004/book-reserve

Repository files navigation

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.

NPM Version Package License NPM Downloads CircleCI Coverage Discord Backers on Open Collective Sponsors on Open Collective Support us

Description

Nest framework TypeScript starter repository.

Package

# database
$ npm install --save @nestjs/typeorm@8.0.3 typeorm@0.2.41 pg

# configuration .env
$ npm i --save @nestjs/config

# .env dotenv
$ npm i dotenv

# swagger
$ npm install --save @nestjs/swagger swagger-ui-express

# body-parser
$ npm i body-parser

# express basic auth
$ npm i express-basic-auth

# validations pipe
$ npm i --save class-validator class-transformer

# auth
$ npm install --save @nestjs/passport passport passport-local
$ npm install --save-dev @types/passport-local

$ npm install --save @nestjs/jwt passport-jwt
$ npm install --save-dev @types/passport-jwt

$ npm i passport passport-http @nestjs/passport --save
$ npm i @types/passport @types/passport-http --save-dev

# axios
$ npm i --save @nestjs/axios
$ npm i axios

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

Support

Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.

Stay in touch

License

Nest is MIT licensed.

About

api for book reservations - book-reserve is a web application designed for efficient loan management in libraries with limited resources. Users can check book availability, borrow, and return items. The system provides administrators with tools for detailed loan tracking and effective date control.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages