Aidminton i 7E3E s a web application designed to help badminton players track and manage their injuries. This application allows users to create accounts, log injuries, track pain levels, and access resources for injury prevention and recovery.
- User Authentication: Secure signup and login functionality
- Profile Management: Users can update their personal information
- Injury Logging: Record injury details including title, description, date, and pain level
- Injury History: View a log of past injuries
- Medical Expert Resources: Access information about medical professionals
- Backend: Flask (Python)
- Database: SQLite
- Frontend: HTML, CSS, JavaScript
- Authentication: Werkzeug security for password hashing
-
Clone the repository:
git clone https://github.com/yourusername/aidminton.git cd aidminton
-
Create a virtual environment and activate it:
python -m venv venv # On Windows venv\Scripts\activate # On macOS/Linux source venv/bin/activate
-
Install dependencies:
pip install -r requirements.txt
-
Create a
.env
file in the root directory with the following content:FLASK_SECRET_KEY=your_secret_key_here
-
Initialize the database:
python init_db.py
-
Run the application:
python app.py
-
Open your browser and navigate to
http://127.0.0.1:5000
app.py
: Main application file containing routes and logicinit_db.py
: Database initialization scriptschema.sql
: SQL schema for database tablesrequirements.txt
: Project dependenciesstatic/
: Static files (CSS, JavaScript, images)templates/
: HTML templates for the application
This project was created as a challenge for me to develop a working Flask protoype of Aidminton for my friend
This project is submitted for academic purposes and is not licensed for commercial use.