Loading repository dataβ¦
Loading repository dataβ¦
ayinalakoteswararao / repository
π Automotive Shop Management System β‘ Real-Time Inventory | π οΈ Smart Service Bookings | π Admin Dashboard π§βπ» Fully Interactive & Automated
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
| Component | Technology |
|---|---|
| Backend | π Python Flask |
| Database | ποΈ MySQL |
| Real-time | π Flask-SocketIO (WebSockets) |
| Frontend | π HTML5, π¨ CSS3, π’ Bootstrap 5 |
| Fonts | π€ Rajdhani, Exo 2, Share Tech Mono |
| Icons | π Font Awesome 6 |
| Animations | β¨ AOS (Animate on Scroll) |
| Auth | π Werkzeug password hashing |
satya_sai_auto/
βββ π app.py # Main Flask application
βββ π requirements.txt # Python dependencies
βββ π .env.example # Environment variable template
βββ π database/
β βββ π schema.sql # MySQL database schema + seed data
βββ π static/
β βββ π css/main.css # Main stylesheet (dark automotive theme)
β βββ π js/main.js # JavaScript (SocketIO, search, animations)
βββ π templates/
βββ π base.html # Base template (navbar, footer, WhatsApp)
βββ π index.html # Home page
βββ π about.html # About Us
βββ π products.html # Spare Parts catalog
βββ π batteries.html # Battery section
βββ π services.html # Services
βββ π brands.html # Brands
βββ π booking.html # Service booking form
βββ π contact.html # Contact page
βββ π admin/
βββ π dashboard.html # Admin dashboard
βββ ... # Other admin templates
# Create virtual environment
python -m venv venv
# Activate (Linux/Mac)
source venv/bin/activate
# Activate (Windows)
venv\Scripts\activate
# Install packages
pip install -r requirements.txt
# Login to MySQL
mysql -u root -p
# Run schema
source database/schema.sql
Or import directly:
mysql -u root -p < database/schema.sql
Create a .env file or set environment variables:
export MYSQL_HOST=localhost
export MYSQL_USER=root
export MYSQL_PASSWORD=your_password
export MYSQL_DB=satya_sai_auto
export SECRET_KEY=your-secret-key-here
The first time you run the app, it creates a default admin:
adminadmin123β οΈ IMPORTANT: Change this password immediately after first login!
python app.py
π Visit: http://localhost:5000
| URL | Description |
|---|---|
π / | Home page |
βΉοΈ /about | About Us |
βοΈ /products | Spare Parts catalog (with search & filters) |
π /batteries | Battery section |
π οΈ /services | Services |
π·οΈ /brands | Brands |
π
/booking | Service booking form |
π /contact | Contact page |
π‘οΈ /admin | Admin dashboard & management panels |
| Table | Purpose |
|---|---|
π admin | Admin user credentials |
π·οΈ brands | Part brands (Bosch, Lucas TVS, etc.) |
ποΈ categories | Part categories |
π¦ products | Spare parts inventory |
π batteries | Battery inventory |
π οΈ services | Service types offered |
π₯ customers | Customer records |
π
bookings | Service bookings |
π© inquiries | Contact form messages |
π inventory_log | Stock change audit trail |
# Install gunicorn
pip install gunicorn
# Run with eventlet worker (required for SocketIO)
gunicorn --worker-class eventlet -w 1 -b 0.0.0.0:5000 app:app
server {
listen 80;
server_name yourdomain.com;
location / {
proxy_pass http://127.0.0.1:5000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
}
}
#0A0A0A) + Yellow (#FFD600) automotive theme+91 954256****