A simple blog application built to practice and understand back-end folder structures and core concepts in a Node.js environment. This is a foundational project created for learning purposes and is not intended for production use.
-
✍️ Create & Manage Posts: A basic editor to write, edit, publish, and delete blog posts.
-
👤 User Authentication: Secure user registration and login system.
-
💬 Comments: Engage with your readers through a built-in commenting system.
-
🚀 Responsive Design: A clean and fully responsive layout that looks great on any device.
-
🔍 Search Functionality: Easily search for posts by title or content.
-
🏷️ Tags & Categories: Organize your posts with tags and categories for better discovery.
This project is built with:
-
Frontend: HTML, CSS, JavaScript
-
Templating Engine: EJS
-
Backend: Node.js, Express.js
-
Database: MongoDB Atlas
-
Authentication: JSON Web Tokens (JWT)
Follow these instructions to get a local copy up and running for development and testing purposes.
Make sure you have the following installed on your machine:
-
A MongoDB Atlas account
-
Clone the repository
git clone https://github.com/Rudra113/basic-blog-app.git -
Navigate to the project directory
cd basic-blog-app -
Install dependencies
npm install -
Set up environment variables
-
Create a
.envfile in the root directory. -
Add the following variables:
PORT=3000 MONGO_URI=your_mongodb_atlas_connection_string JWT_SECRET=your_jwt_secret
-
-
Start the server
npm run dev
The application should now be running on http://localhost:3000.
Since this is primarily a learning project, contributions are not the main focus. However, if you have suggestions for improvements, feel free to open an issue!
Distributed under the MIT License. See LICENSE for more information.
X(twitter) - handle -r_u_d_r_a__01 - rudraranjanmohanty@gmail.com