Skip to content

shivansh-127/Mini-Quora

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧠 Mini Quora

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.


✨ Features

✅ 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


🛠 Tech Stack

  • Node.js
  • Express.js
  • MongoDB + Mongoose
  • EJS (Frontend templating)
  • CSS / Public Assets

🚀 How to Run Locally

  1. Clone this repository:
git clone https://github.com/shivansh-127/Mini-Quora.git
cd Mini-Quora
  1. Install dependencies:
npm install
  1. Add MongoDB connection in a .env file:
MONGO_URI=your_mongodb_connection_string
PORT=8080
  1. Start the server:
npm start
  1. Open in browser:
http://localhost:8080/posts

📂 Project Structure

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)

👨‍💻 Developed By

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!

About

A simple Mini-Quora application built using Node.js, Express, EJS, and MongoDB. Users can create posts, view posts, edit them, and delete them. The app displays username and content just like a basic discussion platform. This project demonstrates CRUD operations, REST APIs, templating with EJS, and database integration with MongoDB.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages