A simple discussion platform inspired by Quora, built using Node.js, Express, EJS, and MongoDB.
Users can create posts, read posts, edit them, and delete them — performing full CRUD operations.
✅ Add a new post
✅ View all posts
✅ View individual post details
✅ Edit a post
✅ Delete a post
✅ Data stored in MongoDB
✅ Clean UI using EJS templates
- Node.js
- Express.js
- MongoDB + Mongoose
- EJS (Frontend templating)
- CSS / Public Assets
- Clone this repository:
git clone https://github.com/shivansh-127/Mini-Quora.git
cd Mini-Quora- Install dependencies:
npm install- Add MongoDB connection in a
.envfile:
MONGO_URI=your_mongodb_connection_string
PORT=8080
- Start the server:
npm start- Open in browser:
http://localhost:8080/posts
Mini-Quora
│
├─ public/ # CSS & frontend assets
├─ views/ # EJS templates
├─ models/ # Mongoose schema (if present)
├─ routes/ # Express routes
├─ index.js # Main server file
├─ package.json
└─ .env (ignored)
Shivansh Saxena
🔗 GitHub: https://github.com/shivansh-127
🔗 LinkedIn: https://www.linkedin.com/in/shivansh-saxena-5286ab311/
⭐ If you like this project, feel free to star the repository!