Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/hugorcd/nestjs-boilerplate
- Owner: HugoRCD
- License: mit
- Created: 2022-12-16T11:43:23.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-05-01T14:18:59.000Z (9 months ago)
- Last Synced: 2024-10-12T05:12:02.293Z (3 months ago)
- Topics: api, backend, cron, crud, handlebars, jwt, jwt-authentication, nestjs, nodemailer, refresh-token, typeorm, typescript
- Language: TypeScript
- Homepage: https://nestjs-backend-template.herokuapp.com/
- Size: 1.15 MB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
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).