A modern airline management system built with React frontend and Django REST API backend.
- User authentication (login/signup)
- User profile management
- Dashboard for authenticated users
- Modern responsive UI
- React 18
- React Router DOM
- Axios for API calls
- Tailwind CSS for styling
- Django 4.2
- Django REST Framework
- JWT Authentication
- SQL Database Support:
- SQLite (default for development)
- MySQL (recommended for production)
- SQL Server (enterprise option)
- PostgreSQL (alternative)
- CORS handling
airline-tracker/
├── frontend/ # React application
├── backend/ # Django REST API
├── README.md
└── LICENSE
- Navigate to backend directory
cd backend- Create virtual environment
python -m venv venv
venv\Scripts\activate # Windows- Install dependencies
pip install -r requirements.txt- Configure database
# Copy environment template
cp .env.example .env
# Edit .env file with your database settings
# For SQLite (default): no changes needed
# For MySQL/SQL Server: update DB_ENGINE and credentials- Set up database
# Automated setup (recommended)
python setup_database.py
# Or manual setup
python manage.py makemigrations
python manage.py migrate
python manage.py createsuperuser- Start development server
python manage.py runserverThe application supports multiple SQL databases. See DATABASE_SETUP.md for detailed configuration instructions.
- SQLite (Default) - No setup required
- MySQL - Install MySQL, create database, update
.env
- Navigate to frontend directory
cd frontend- Install dependencies
npm install- Start development server
npm startCreate .env files in both frontend and backend directories with appropriate configuration.
POST /api/auth/register/- User registrationPOST /api/auth/login/- User loginGET /api/auth/profile/- Get user profilePUT /api/auth/profile/- Update user profile
This project is licensed under the terms specified in the LICENSE file. This is a project to mimic an airline company database as a course project for COMP306.