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

https://github.com/ibrsec/blogapp-backend-express

Backend of the Blog App
https://github.com/ibrsec/blogapp-backend-express

express jwt mongodb

Last synced: about 1 month ago
JSON representation

Backend of the Blog App

Awesome Lists containing this project

README

          









Logo

Blog App backend | Fullstack


An awesome backend of the Blog App fullstack application
Explore the docs »


Backend Swagger


·
Frontend Live Link
·
frontend Repo
·
Report Bug
·
Request Feature


📎 Table of Contents 📎


  1. About The Project

  2. ERD


  3. Overview

  4. Quick Setup

  5. Directory structure

  6. Built With


---


## ℹ️ About The Project

[![blogapp-backend-express](./src/assets/swagger.png)](https://blogapp-backend-express.vercel.app/api-doc/)


## ℹ️ ERD
[![blogapp-backend-express](./src/assets/erd.png)](https://blogapp-backend-express.vercel.app/api-doc/)

(back to top)

---


## 👀 Overview

📦 Backend of the blogapp-frontend project for store data
🎯 Used express, dotenv, express-async-errors,jsonwebtoken, mongoose, swagger-jsdoc, swagger-ui-express,cors
🖥 MongoDb is used as db
🔩 Jwt token authentication is use for authorization an authentication operations

🖥 Unauthorized user can just access the list of the blogs and cant access details and modification features. if user trys to , he is redirected to the login page.
🔩 User can Register and login !
🖥 After login, user can screen the details of the blogs and create new blogs and can edit and delete his own blogs

(back to top)


## 🛫 Quick Setup

```sh
# clone the project
git clone https://github.com/ibrsec/blogapp-backend-express.git

# enter the project directory
cd blogapp-backend-express

# install dependency
npm install

# develop
npm run start
```

(back to top)


## 📂 Directory structure

```diff
+ blogapp-backend-express (folder)
+ |---src (folder)
| |---config (folder)
| |
| |---controller (folder)
| |
| |---middlewares (folder)
| |
| |---helpers (folder)
| |
| |---models (folder)
| |
| └---routers (folder)
|
|----swagger (folder)
|----.env
|----.gitignore
|----package.json
|----vercel.json
└----readme.md
```

(back to top)

---


### 🏗️ Built With
























(back to top)