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
- Host: GitHub
- URL: https://github.com/mrirakib04/server-2
- Owner: mrirakib04
- Created: 2025-02-25T14:29:09.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-29T09:43:15.000Z (12 months ago)
- Last Synced: 2025-12-26T18:49:43.122Z (6 months ago)
- Topics: cors, express, jsonwebtoken, mongodb, node
- Language: JavaScript
- Homepage:
- Size: 31.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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**