https://github.com/nightdevilpt/blogsphere-server-v2
https://github.com/nightdevilpt/blogsphere-server-v2
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nightdevilpt/blogsphere-server-v2
- Owner: NightDevilPT
- Created: 2023-10-02T02:34:06.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-26T03:57:15.000Z (over 1 year ago)
- Last Synced: 2025-01-31T19:34:04.392Z (4 months ago)
- Language: JavaScript
- Homepage: https://blogsphere-server-v2.vercel.app
- Size: 80.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Welcome to [BlogSphere]()
### BlogSphere is a APIs server for blogs related.
## [Folder Tree Structure]()
```bash
.
|── constants
| |── Response.js
| |── Status.js
|
|── controllers
| |── blog
| |── user
| |── AddUser.js
| |── ForgetPassword.js
| |── GetProfile.js
| |── LoginUser.js
| |── UpdatePassword.js
| |── UpdateProfile.js
| |── VerifyUser.js
|
|── libs
| |── FetchData.js
| |── HashPassword.js
| |── JwtToken.js
| |── UploadImage.js
|
|── middleware
| |── ConnectDB.js
| |── HeaderMiddleware.js
| |── multer.js
|
|── models
| |── userModel.js
|
|── routes
| |── userRoute.js
|
|── SendMail
| |── UpdateSendLink.js
| |── VerifySendMail.js
|
|── .gitignore
|── config.js
|── firebaseconfig.js
|── index.js
|── package-lock.json
|── package.json
|── Readme.md
|── vercel.json```
## [User Routes]() ( /user )
This is UserRoute for Adding, Update, and Deleting User account
### Post [/user/create]()
- [x] This route add a new user if user does not exists.if user already exists then thorw response message
### Required Body Data :
| Key | Type | Example |
| :------- | :----- | :--------------- |
| username | String | Username |
| email | String | [email protected] |
| password | String | 123456 |### Status Response :
| Status | Code |
| :----------- | :--- |
| Created | 201 |
| Server Error | 500 |
| Exist | 403 |## [Blog Routes]() ( /blog )
## [Comment Routes]() ( /comment )
- [x] done