Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/ruslanguns/nestjs-myblog

😍 NestJS + TypeORM + MySQL + Bonus: Swagger
https://github.com/ruslanguns/nestjs-myblog

Last synced: 7 days ago
JSON representation

😍 NestJS + TypeORM + MySQL + Bonus: Swagger

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.



NPM Version
Package License
NPM Downloads
Travis
Linux
Coverage
Gitter
Backers on Open Collective
Sponsors on Open Collective



## Description

This is a [Nest](https://github.com/nestjs/nest) repository resultant of the NestJS Crud + Login + Roles series of live coding vides of [Dominicode](https://www.youtube.com/channel/UC3QuZuJr2_EOUak8bWUd74A) - Youtube's channel.

| Date | Title | Video Link |
|----------|:-------------:|------:|
| 16-08-2020 | CRUD + TypeOrm + MySQL | https://www.youtube.com/watch?v=eL2tO9xPZLM&t |
| 23-08-2020 | CRUD Login JWT - Part 1 | https://www.youtube.com/watch?v=lTmGLgtgjdM&t |
| 30-08-2020 | CRUD Login JWT - Part 2 | https://www.youtube.com/watch?v=kjr54SpV_eQ |
| 31-09-2020 | Deploy de NestJS con migraciones en TypeORM en Heroku | https://youtu.be/P2gvIQRXIuc |

## Content
- NestJS Controller and Dependency Injection
- TypeORM Integration with MySQL database
- @nestjs/config package integration for Environment Variables handling
- Secure password encryption with BcryptJs
- Authentication strategies with Passport
- Custom Decorator and tips
- nest-access-control integration for RBAC and ABAC introduction
- Class validator with custom settings
- On boot admin user generation
- ETC.

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

## 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](https://docs.nestjs.com/support).

## Stay in touch

- Author - [Kamil MyΕ›liwiec](https://kamilmysliwiec.com)
- Website - [https://nestjs.com](https://nestjs.com/)
- Twitter - [@nestframework](https://twitter.com/nestframework)

## License

Nest is [MIT licensed](LICENSE).