Welcome to Blog Haven, your go-to platform for writing, publishing, and sharing blogs with a vibrant community. Express yourself, connect with others, and customize your profile to let people know you better.
- Write and Publish Blogs: Share your stories, ideas, and insights with the world.
- Connect with Others: Discover and engage with a diverse community of writers and readers.
- Profile Customization: Personalize your profile to showcase your personality and interests.
- Engage with Content: Appreciate or add comments on blogs to sharegg your views and connect with authors.
- Performance: Get the number of views on your blog to estimate the reach it got
- Sign Up: Create an account to start writing and sharing your blogs.
- Customize Your Profile: Make your profile uniquely yours with customizations.
- Write and Publish: Share your thoughts and stories with the world.
- Engage with the Community: Comment and appreciate other blogs to interact and connect.
Join Blog Haven today and be a part of a dynamic community of writers and readers!
-
- Styling: Tailwind
- Templating Enjine: EJS
-
- Database: MongoDB
- Authentication: JWT
- Framework: Express
- Authentication: Implemented authentication using JSON Web Tokens (JWT)
- Multer: Multer for handling image input from users
- Encrypting Password: Used bcrypt for encrypting user passwords before storing them in the database
- Sorting, Searching, and Insertion: Learned to implement these operations in MongoDB effectively
- Like: Want to add Like functionality for blogs and comments
- Sorting: Want to provide functionality for sorting blogs and comments based on these likes
- Session and Refresh Token: Want to use the concept of Session and Refresh token for keeping user authenticated for a long duration instead of extending the duration of cookies
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Install all dependencies listed in package.json
npm installCreate a .env file in your directory and add following variables
PORT = PORTofYourChoice
JWTSecretKey = "Any String"In index.js replace URL in connectToMongoDB() function with the Connection URL of MongoDB on your device
connectToMongoDB("mongodb://localhost:27017/Blogging-App")