Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/hugorcd/nestjs-boilerplate

NestJS Template ready-to-use using TypeORM, working auth and refresh token, user CRUD, role Guard, Mailer using Handlebar, mail template, and Cron Service
https://github.com/hugorcd/nestjs-boilerplate

api backend cron crud handlebars jwt jwt-authentication nestjs nodemailer refresh-token typeorm typescript

Last synced: 3 months ago
JSON representation

NestJS Template ready-to-use using TypeORM, working auth and refresh token, user CRUD, role Guard, Mailer using Handlebar, mail template, and Cron Service

Awesome Lists containing this project

README

        

[![Codacy Badge](https://app.codacy.com/project/badge/Grade/71db8a259f59414db7fda9f8e16a2411)](https://www.codacy.com/gh/HugoRCD/nestjs-boilerplate/dashboard?utm_source=github.com&utm_medium=referral&utm_content=HugoRCD/nestjs-boilerplate&utm_campaign=Badge_Grade)

# Introduction
Here is a completely working NestJS Template ! This backend is a Node.js server built with NestJS and can be used to serve the API for a web or mobile application.
Everything is connect and ready to use to a working app in VueJS check here !!! [VueJS Template](https://github.com/HugoRCD/vuejs-boilerplate)

## Features
- Fast and scalable server-side routing with NestJS
- Flexible configuration with environment variables
- Easy to use with TypeScript
- OAuth authentication with Google
- Authentication with JSON Web Tokens (JWTs) and refresh tokens
- Working forgot password
- Fully fonctionnal mailer with responsive mail template

## Getting Started
To get started with this NestJS Api, follow these steps:

### Clone the repository:
```
git clone [email protected]:HugoRCD/nestjs-boilerplate.git
```

### Install dependencies:
```
yarn install
```

### Start the development server:
```
yarn run start:dev
```

Now you can open the app in your browser at http://localhost:3000. You can use a tool like Postman to send requests to the API endpoints.
Here is the [Postman Collection](./postman)

## Documentation
For more information on how to use this NestJS api, see the [documentation](https://nestjs-backend-template.herokuapp.com/api) or http://localhost:3000/api.

## License
This NestJS template is licensed under the [MIT License](./LICENSE).