Skip to content

Nest Js Boilerplate with JWT authentication, CRUD functions and payment gateways.

Notifications You must be signed in to change notification settings

KashanSiddiqui/Nest-Js-Boiler-Plate

Repository files navigation

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications, heavily inspired by Angular.

Description

Nest framework TypeScript starter repository. Node js boiler plate with login and signup routes and payments gateways. Mongoose database is used for this boiler plate.

  • Functions/Modules
    • Login/Signup Route and storing data in moongose
    • CRUD function route with monodb
    • Send Email Function using nodemailer
    • Stripe Payment Method
    • Paypal Payment Method
    • Currency conversion (By Rapid Api)
    • Crypto to fiat conversion (Kraken)

Few keys that needed to be updated. Create config.json and .env file and update things that are mentioned below

  • Updates Required
    • Update JWT secret key in .env file for encryption and generation of token
    • Update mongoose private key in config.json file
    • Update Stripe secret key in .env file
    • Update email and password for sender email
    • Update paypal secrets keys in paypal services file
    • Update Rapid api and kraken keys in kraken services file

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

License

Nest is MIT licensed.