This is a simple blog api developed using Node.js,Express and MongoDB.
User:
- User Signup
- User Signin
- User Authentication using jsonwebtokens ("/user" mounted)
- Read User Profile by id
- Update User Account
- Delete User Account
Blog:
- User needs to be authenticated to access any of ("/blog" mounted)
- Create a new Blog Post
- Read all Blog Posts created + Pagination + Sorted by recently posted
- Read a specific Blog Post by id
- Update a Blog Post
- Delete a Blog Post
- Link the authenticated User with the blogs he created ( referenced using their ObjectId in the User document in an array )
- Link the blog with creator of it ( referenced using the user's ObjectId )
- Refactor it and make more layers
- Better Error Handling
- Add new features: 1- Sorting features 2- Comment on a Blog