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

https://github.com/mrirakib04/server-2

server-2 For web-practice-8
https://github.com/mrirakib04/server-2

cors express jsonwebtoken mongodb node

Last synced: 2 months ago
JSON representation

server-2 For web-practice-8

Awesome Lists containing this project

README

          

# Server-2

# For: web-practice-8 - BlogEng BD

## Links:

- **Web:** [https://mrirakib-web-practice-8.netlify.app/](https://mrirakib-web-practice-8.netlify.app/)
- **Repo:** [https://github.com/mrirakib04/web-practice-8/](https://github.com/mrirakib04/web-practice-8/)

## Features

- **Blogs:**

- Fetch all blogs.
- Fetch a specific blog by ID.
- Fetch the latest blogs.
- Search blogs by text.
- Add a new blog.
- Update an existing blog.
- Sort blogs by description length.
- Fetch featured blogs based on description length.

- **Comments:**

- Fetch all comments for a specific blog.
- Add new comments to a blog.

- **Wishlist:**
- Fetch all wishlist items.
- Fetch wishlist items for a specific user.
- Add a new item to the wishlist.
- Remove an item from the wishlist.

## Technologies Used

- **Express.js**: Web framework for Node.js to handle HTTP requests.
- **MongoDB**: NoSQL database to store blog posts, comments, and wishlist data.
- **CORS**: Middleware to handle cross-origin requests.
- **dotenv**: For managing environment variables such as MongoDB credentials and server configurations.
- **JWT (JSON Web Token)**: For secure user authentication and authorization.
- **cookie-parser**: Middleware to handle cookie parsing.

## Conclusion

Thank you for checking out my repository. If you have any feedback or suggestions, feel free to reach out!

---

Developed by **Md Rakibul Islam Rakib**