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

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)

Awesome Lists containing this project

README

          


Nest Logo

[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.



NPM Version
Package License
NPM Downloads
CircleCI
Coverage
Discord
Backers on Open Collective
Sponsors on Open Collective

Support us


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

![image](https://user-images.githubusercontent.com/99175880/175179686-179ee282-e2a0-4309-93fb-fea3923873fb.png)
![image](https://user-images.githubusercontent.com/99175880/175179410-709b94d0-a903-42b1-ba61-31662da4451c.png)

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