https://github.com/ndmen/blog
Blog on Nest.js, MongoDB (Login, Register, Posts, Comments, Likes, Authors)
https://github.com/ndmen/blog
bcrypt mongodb mongoose mvc nestjs passport-jwt passport-local swagger typescript
Last synced: about 2 months ago
JSON representation
Blog on Nest.js, MongoDB (Login, Register, Posts, Comments, Likes, Authors)
- Host: GitHub
- URL: https://github.com/ndmen/blog
- Owner: ndmen
- Created: 2022-06-09T12:01:59.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-23T21:44:31.000Z (almost 4 years ago)
- Last Synced: 2025-03-14T10:21:19.568Z (over 1 year ago)
- Topics: bcrypt, mongodb, mongoose, mvc, nestjs, passport-jwt, passport-local, swagger, typescript
- Language: TypeScript
- Homepage: https://www.youtube.com/watch?v=Pb58FYOKukw&list=PLCfdGpnpoIvmZKZqi84jJifu_ZE9h1pbi&index=1&ab_channel=NestJS-%D1%83%D0%BA%D1%80%D0%B0%D1%97%D0%BD%D1%81%D1%8C%D0%BA%D0%B0%D1%81%D0%BF%D1%96%D0%BB%D1%8C%D0%BD%D0%BE%D1%82%D0%B0
- Size: 367 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[circleci-image]: https://img.shields.io/circleci/build/github/nestjs/nest/master?token=abc123def456
[circleci-url]: https://circleci.com/gh/nestjs/nest
A progressive Node.js framework for building efficient and scalable server-side applications.
## Description
It is a blog on Nest.js(Passport(JWT+Local)) and MongoDB(Mongoose). You can:
1. Login, Register
2. Create, read, update and delete posts.
3. Create, read comments.
4. Create, read likes.
5. Read user profiles.
See OpenAPI(Swagger) http://localhost:3000/api/#/
See blog on Handlebars http://localhost:3000/posts
Screenshots:


## 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).