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

https://github.com/nabhag8848/backend-blog-application

Backend blog Application build in Hackathon
https://github.com/nabhag8848/backend-blog-application

github-actions husky nestjs postgresql prisma swagger typescript

Last synced: 3 months ago
JSON representation

Backend blog Application build in Hackathon

Awesome Lists containing this project

README

          


Nest Logo

## Description

```bash
Backend Blog Application Build using NestJS, PostgreSQL, Prisma, Docker and Swapper.
```
## Setting up Project locally

- Fork the project:
Click the gray `Fork` button in the top right of this page. This creates _your_ copy of the project and saves it as a new repository in your github account

- Click on the green `Code` button, then either the HTTPS or SSH option and, click the icon to copy the URL. Now you have a copy of the project. Thus, you can play around with it locally on your computer.

- Run the following commands into a terminal window (Command Prompt, Powershell, Terminal, Bash, ZSH). Do this to download the forked copy of this repository to your computer.

```bash
git clone
```

- Switch to the cloned folder. You can paste this command into the same terminal window.

```bash
cd backend-blog-application
```
## Installing Dependencies:

```bash
# using npm
$ npm install
```

## Running the app

```bash
# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod
```
## Swagger Docs
1.visit `http://localhost:3000/api`

Official docs at https://docs.nestjs.com/openapi/introduction
## Test

```bash
# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov
```

## Stay in touch

- Author - ```Nabhag Motivaras```
- Twitter - [@NabhagMotivaras](https://twitter.com/NabhagMotivaras)

## License

It is [MIT licensed](LICENSE).