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

https://github.com/yarosj/nestjs-simple-blog

Simple blog backend application created with usage of the NestJS and Mongoose
https://github.com/yarosj/nestjs-simple-blog

auth blog boilerplate docker docker-compose example image-upload ioredis jwt mongoose multer nestjs nodejs odm passport redis replica-set restful-api typescript

Last synced: 7 months ago
JSON representation

Simple blog backend application created with usage of the NestJS and Mongoose

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

## Description

Simple blog backend application created with usage of the NestJS and Mongoose.

Also, there is a [client application](https://github.com/YarosJ/reactjs-simple-blog), which can be launched on a separate host. If you want to use it on the same host - you can copy client build content into the "static" folder, the "origin" can be set in the docker-compose file as the "ORIGIN" environment variable.

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

## License

Nest is [MIT licensed](LICENSE).