The F1 Lap Times project is a web application developed in Django for studying this technology. It is designed to record and visualize lap times for different Formula 1 tracks. It allows adding, viewing, and deleting lap times.
- Add lap times for different tracks.
- View recorded lap times.
- Delete lap times.
- Toggle between light and dark mode.
To run this project, you will need the following dependencies:
- Python 3.6+
- Django 3.2+
- djangorestframework 3.12.4
- Pillow 8.4.0
-
Clone the repository:
git clone https://github.com/PatoCodas/f1-lap-times.git cd f1-lap-times
-
Create a virtual environment and activate it:
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
-
Install the dependencies:
pip install -r requirements.txt
-
Apply the database migrations:
python manage.py makemigrations python manage.py migrate
-
Start the development server:
python manage.py runserver
-
Access the application in your browser:
http://127.0.0.1:8000/
f1-laptimes/
├── config/
│ ├── __init__.py
│ ├── settings.py
│ ├── urls.py
│ ├── wsgi.py
│ └── asgi.py
├── laptimes/
│ ├── __init__.py
│ ├── admin.py
│ ├── apps.py
│ ├── forms.py
│ ├── models.py
│ ├── tests.py
│ ├── urls.py
│ ├── views.py
│ ├── migrations/
│ │ ├── 0001_initial.py
│ │ ├── 0002_auto_add_tracks.py
│ │ └── __init__.py
│ ├── templates/
│ │ ├── base.html
│ │ ├── f1_lap_times.html
├── manage.py
├── requirements.txt
└── .gitignore
Email: [email protected] GitHub: PatoCodas