A community-powered platform to share and discover the best local deals—across retail, grocery, dining, and more.
Visit the Live Site - https://dealvault-qoi9.onrender.com/
DealVault enables users to:
- Post and browse local deals
- Like and explore the most popular offers
- Filter deals by category
- View insightful visualizations on trends
- Seamlessly register/login and manage profiles
Built with Flask and PostgreSQL, DealVault is a full-stack web application focused on community-driven savings and insights.
- User Authentication: Register and login securely
- Deal Posting: Add deals with details like store name, category, promo code, and description
- Likes System: Like deals, see most liked ones
- Visualizations: Explore insights with charts on category distribution, top stores, and more
- Filtering: Search and filter deals by store, category, or keywords
- Backend: Flask, SQLAlchemy, PostgreSQL
- Frontend: HTML, Jinja2, Bootstrap
- Auth: Flask-Login, Flask-WTF
- Visualizations: Matplotlib, Seaborn
- Hosting: Render (Backend) + Railway (PostgreSQL DB)
DealVault/
│
├── app/ # Flask application package
│ ├── auth/ # Authentication blueprint
│ ├── main/ # Main routes (deals, dashboard, etc.)
│ ├── models.py # SQLAlchemy models
│ ├── forms.py # WTForms definitions
│ ├── templates/ # Jinja2 HTML templates
│ └── static/ # CSS, JS, images
│
├── .env # Environment variables (not committed)
├── run.py # Entry point for local dev
├── wsgi.py # WSGI entry for production (Render)
├── requirements.txt # Python dependencies
└── README.md # This file
-
Clone the repository
git clone https://github.com/yourusername/dealvault.git cd dealvault -
Install dependencies
pip install -r requirements.txt
-
Configure environment variables
Create a
.envfile:SECRET_KEY=your_secret_key DATABASE_URL=your_postgres_connection_string -
Run the app
python run.py
- Backend hosted on Render
- PostgreSQL database on Railway
- Push to GitHub triggers auto-deploy via Render Git integration
- Integrating admin functionalities and dashboard for moderation
- Integrating Referral Postings