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
- Host: GitHub
- URL: https://github.com/nabhag8848/backend-blog-application
- Owner: Nabhag8848
- License: mit
- Created: 2022-08-05T16:10:55.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-08-22T21:30:33.000Z (almost 4 years ago)
- Last Synced: 2025-05-29T14:18:54.602Z (about 1 year ago)
- Topics: github-actions, husky, nestjs, postgresql, prisma, swagger, typescript
- Language: TypeScript
- Homepage:
- Size: 335 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## 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).