Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/kashansiddiqui/nest-js-boiler-plate

Nest Js Boilerplate with JWT authentication, CRUD functions and payment gateways.
https://github.com/kashansiddiqui/nest-js-boiler-plate

authentication boiler-plate crud-functions kraken mongodb mongodb-database nest nestjs nodemailer nodemailer-smtp-transport payments-gateways paypal paypal-rest-api signup-routes stripe stripe-api

Last synced: about 1 month ago
JSON representation

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

Awesome Lists containing this project

README

        


Nest Logo

[travis-image]: https://api.travis-ci.org/nestjs/nest.svg?branch=master
[travis-url]: https://travis-ci.org/nestjs/nest
[linux-image]: https://img.shields.io/travis/nestjs/nest/master.svg?label=linux
[linux-url]: https://travis-ci.org/nestjs/nest

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

## Description
[Nest](https://github.com/nestjs/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

```bash
$ npm install
```

## Running the app

```bash
# development
$ npm run start

# watch mode
$ npm run start:dev

# 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
```

## License

Nest is [MIT licensed](LICENSE).