The Automobile Maintenance System is a comprehensive solution for managing automotive repair businesses, providing user management, vehicle management, order processing, technician task assignment, etc.
- Python 3.13
- Microsoft SQL Server (or any ODBC-compliant relational database)
- ODBC Driver 17 for SQL Server (or compatible driver for your database)
Create a database:
CREATE DATABASE AMS;
USE AMS;cd backend
pip install -r requirements.txtCreate a .env file in the backend directory:
# Database Configuration
DRIVER={ODBC Driver 17 for SQL Server}
SERVER=your_server_name_or_ip
DATABASE=AMS
UID=your_database_username
PWD=your_database_password
# Security Configuration
SECRET_KEY=your_secret_key_here
ALGORITHM=HS256
ACCESS_TOKEN_EXPIRE_MINUTES=1440
# Background Configuration
ASSIGNMENT_PROCESSOR_INTERVAL=30
cd backend
python main.pyThe backend service will run at http://127.0.0.1:8000.
API documentation can be viewed at http://127.0.0.1:8000/docs.
Make sure you have Node.js (version 16 or higher) installed on your system.
cd frontend
npm installcd frontend
npm run devThe frontend application will run at http://localhost:5173 (or another port if 5173 is occupied).
To build the frontend for production:
cd frontend
npm run build