GadNEXUS 🧠📱

A full-stack gadget blog platform built with Flask, MongoDB, and Jinja — where tech enthusiasts can read and share posts about the latest phones, laptops, accessories, and more.


✨ Features


🛠 Tech Stack


📁 Folder Structure

├── app.py # Main Flask app
├── templates/
│  ├── layout.html # Base layout
│  ├── index.html # Public blog home page
│  ├── dashboard.html # Logged-in user dashboard
│  ├── login.html # Login page
│  ├── register.html # Register page
│  ├── add.html # Create post form
│  ├── edit.html # Edit post form
├── vercel.json # Vercel deployment config
└── README.md

⚙️ How It Works

  1. Users can register/login securely.
  2. Logged-in users can:
    • 📝 Create new gadget blog posts
    • ✏️ Edit existing posts
    • 🗑️ Delete posts they created
  3. All posts are saved in MongoDB Atlas.
  4. The public homepage displays all user-contributed posts.
  5. Auto-deployed to Vercel on every GitHub push.

🔧 Local Setup Instructions

  1. Clone the repo:
    git clone https://github.com/yourusername/gadnexus.git
    cd gadnexus
  2. Install Python dependencies:
    pip install flask pymongo dnspython
  3. Set up environment variables (or hardcode in app.py):
    • MONGO_URI → your MongoDB Atlas connection string
    • SECRET_KEY → any secret string for session management
  4. Run the flask app
    python app.py
    Then visit: http://localhost:5000

☁️ Deployment (Vercel)

✅ Completed Functionality