Features:
- Search train between stations.
- Search train by name.
- Search train by number.
- Book a train.
- View order history.
Instructions to use:
- Download Zip folder
- Extract and open in an IDE of your Choice
- Install Python and create a virtual environment
- Install requirements.txt
pip install -r requirements.txt
- Install PostgreSQL and create database rticket
- You have to add train data using PGAdmin panel from CSV file
- Change database settings in settings.py
- Add RazorPay keys to below files
payment/views.py
templates/order/checkout.html - Run python migrations
python manage.py makemigrations
python manage.py migrate
- Start the Server
python manage.py runserver
Backend - Django (Python)
Frontend - HTML CSS Bootstrap JS JQuery
Database - PostgreSQL
Payment - RazorPay
Hosting - Heroku