I and my teammates create basic web application to reservation for flight ticket. I make backend part for project CPE231. (Some part maybe included frontend for test something.)
Tools:
- Database: PostgreSQL
- Framework: Python Django
Models.py includes:
- User: to keep personal information such as username,password,email,last login,is admin,phone number.
- Location: to keep cities and airports.
- Ticket: to keep flight ticket each flight.
- Passenger: to keep personal infomation are first name, last name and gender of passenger (Person who not login when reservation flight)
- Schedule: to keep schedule for user when they booked flight.
Step run:
- In setting.py in folder flight. You should change database name and password to your own.
- Run terminal and command python manage.py createsuperuser for create user to login in Django Admin.
- Run terminal and command python manage.py runserver to run web application.
- Enjoy!!
My teammates include:
- 62070507203 Jinjutha Thapanapoompong ,Role: Frontend
- 62070507208 Patcharaporn Sirimom ,Role: Backend
- 62070507211 Sarocha Chonmahatrakool ,Role: Frontend
- 62070507213 Jakkrit Ketsiri ,Role: Backend
PS. This is a first project to use python django framework.