Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prevertex App

Flask app for Prevertex — "Build Your Dream With Us". Inspired by Prevertex Projects and Appaswamy-style project showcase.

Features:

  • Public site: Projects list (Ongoing / Ready / Completed), project detail pages with overview, features, specifications, enquiry form, FAQ, optional map.
  • Enquiry & contact: Name, email, phone, budget, message; stored in DB; consent checkbox.
  • Auth & reports: Sign up / sign in, daily site reports (weather, manpower, progress, incidents) for logged-in users.
  • Branding: Pre Vertex Projects logo in header (click goes to home). Logo: static/logo.png. Footer, nav (Projects, About, Contact; Dashboard/Daily reports when logged in).
  • Admin UI: Upload project images, construction gallery photos, and report attachments. Sign in as admin@prevertex.com / admin123 (change password after first login). Nav shows "Admin" when logged in as admin.

How to run (manual terminal commands)

From the project root (prevertex_app/):

# 1. Create and activate a virtual environment (one-time)
python3 -m venv .venv
source .venv/bin/activate   # On Windows: .venv\Scripts\activate

# 2. Install dependencies (one-time, or after adding new packages)
pip install -r requirements.txt

# 3. Run the development server (FLASK_APP is set automatically via .flaskenv)
flask run

Then open http://127.0.0.1:5000/ in your browser. The app creates the SQLite database (prevertex.db) in the project directory on first run.

  • To run on a different host/port:
    flask run --host=0.0.0.0 --port=8080

Planning

  • .planning/PROJECT.md — project context and decisions
  • .planning/REQUIREMENTS.md — v1 requirements and traceability
  • .planning/ROADMAP.md — phases and success criteria

About

Trying to build an Flask application for construction and accounting purpose

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages