Skip to content

BlogEx — A blog app where users can sign up, post blogs with cover images, comment, upvote, read full posts, and generate AI summaries. Built with Node.js, Express, MongoDB Atlas, EJS, JWT auth (via cookies), bcrypt, and Gemini AI.

Notifications You must be signed in to change notification settings

ParamPS25/Blogex

Repository files navigation

BlogEx

BlogEx is a blog application where user can create account to add blogs with coverImage , add comments , upvote the blog, read full blog and summarize that blog with ai, also main focus was on learning backend(node express mongo atlas ejs) so used minimal frontend also it implements jwt auth via cookie , password hashing and gemini ai integration for summary.

Technologies Used

Backend: Node.js, Express, MongoDB Atlas, EJS
Frontend: Minimal frontend with EJS templates
Authentication: JWT (via cookies), bcrypt for password hashing
AI Integration: Gemini AI for blog summarization

Live link:

Note

The application is deployed on Render’s free tier, which provides 0.1 CPU and 512MB RAM.
Due to these limitations, you may need to reload the page twice if you encounter ‘not exist’ errors or if image loading takes time.
due to high latency as the region is Oregon Usa so, might takes few more seconds to load the server
live link : https://blogex.onrender.com/

Installation

Clone the repository

git clone https://github.com/ParamPS25/Blogex.git

Install dependencies

npm install

Set up environment variables: Create a .env file in the root directory and add the following:

ACCESS_TOKEN_SECRET_KEY = your_jwt_secret
API_KEY = your_gemini_api_key
PORT = 8080
MONGO_URL= your_mongodb_atlas_uri

Start the application

npm start

About

BlogEx — A blog app where users can sign up, post blogs with cover images, comment, upvote, read full posts, and generate AI summaries. Built with Node.js, Express, MongoDB Atlas, EJS, JWT auth (via cookies), bcrypt, and Gemini AI.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published