Skip to content

TreyMcGarity/airline-reservation-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

I'm Airline Reservation System This project is an Airline Reservation System built using Node.js, Express.js, Knex.js, and PostgreSQL. It allows customers to search for flights, book reservations, manage bookings, and make payments securely.

Features

  • Flight Search: Customers can search for flights by origin, destination, and date.

  • Booking System: Users can reserve flights after selecting a preferred option.

  • User Authentication: Secure login and session management.

  • Payment Processing: Stripe payment system with the ability to save payment details.

  • Reservation Management: Users can view and send "cancel reservations" to agent from a secure dashboard.

Technologies Used:

API: Node.js, Express.js

Database: PostgreSQL, Knex.js

Authentication: JWT

Payment: Stripe (via Frontend)

Folder Structure

/airline-reservation |-- /migrations # Knex migrations for database schema |-- /seeds # Sample data for testing |-- /routes # Express.js route handlers |-- /models # Database models with Knex.js |-- /controllers # Business logic for different modules |-- server.js # Entry point of the application |-- knexfile.js # Knex configuration |-- package.json # Dependencies and scripts

Future Enhancements

Add real-time flight status updates

Contributing

Fork the repository

Create a feature branch (git checkout -b feature-name)

Commit changes (git commit -m 'Add feature XYZ')

Push to branch (git push origin feature-name)

Open a Pull Request

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors