Description: A system designed to manage and track parking tickets, with features like payment processing, ticket history, and notifications.
-
Navigate to the project directory:
cd ParkMeter
-
Activate the virtual environment:
venv\Scripts\activate
-
Move to the application folder:
cd parking_ticket_system
-
Create database migration files:
python manage.py makemigrations
-
Apply migrations:
python manage.py migrate
-
Start the server:
python manage.py runserver
Access the project at http://127.0.0.1:8000/.
Admin Interface:
-
Register ticket models in the admin panel for ticket management.
-
Create a superuser to access the admin panel at
/admin/
. -
Username:
admin
-
Password:
zqxwcevr1234
parking_ticket_system/
: Main project directory containingmanage.py
.- Apps:
tickets/
: Manages ticket data (vehicle info, entry/exit times, etc.).users/
: Manages user accounts for system workers.
- Settings and Config:
settings.py
,urls.py
, etc.
- Migrations: Stored in each app's directory for database changes.
-
API Integration (Optional):
- Integrate the Django REST framework for API interaction.
-
Payment Processing (Optional):
- Add Stripe or PayPal for handling payments.
-
Notifications (Optional):
- Implement email or SMS notifications for pending payments or violations.
- Implement user authentication and authorization using Django's built-in mechanisms or third-party services (e.g., Auth0).
- Write unit tests for models and views to ensure application stability and functionality.