A Blog backend built using express server, mongoDB atlas is used to store the data
- clone the repository
git clone https://github.com/ialtafshaikh/blog-backend.git
- add a
.env
file inside the root folder
DATABASE_URL=local_moongodb
PORT=3000
/blogs : (method:get) - to get all blogs
/blogs : (method:post) - to post blog
/blogs?author&random - query this endpoint to get all the property based blogs
/blogs/id : (method:get) - to get a single blog of using _id (mongoose id)
- Altaf Shaikh - work by - ialtafshaikh
This project is licensed under the MIT License - see the LICENSE.md file for details