Try it here: 480-airlines.vercel.app
Welcome to 480 Airlines, a Flight Reservation Web Application. This web application is designed for use by different type of users, tourism agents, airline agents, and system admins.
- Browse available flights
- Book flights online
- Manage bookings ( Flight Cancellations)
- User authentication and authorization
- Admin dashboard
- Employee Dashboard
- Google/Discord SSO
- Calendar Downloads
- Seed data for testing.
- Pagination
- SSR
- Input validation through Zod
- Toasts and error handling
-
Frontend:
- Next.js - A React framework for server-side rendering and generating static websites.
- Tailwind CSS - A utility-first CSS framework for rapid UI development.
-
Backend:
- PostgreSQL - A powerful, open-source object-relational database system.
- Supabase - An open-source Firebase alternative that offers a seamless integration with PostgreSQL.
- NextAuth.js - Authentication for Next.js applications.
- Prisma - A next-generation ORM that simplifies database access.
Before you begin, ensure you have met the following requirements:
- Node.js (v14.x or later)
- npm or yarn
- PostgreSQL database
-
Clone the repository:
git clone https://github.com/your-username/480Airlines.git cd 480Airlines
-
Install dependencies:
npm install
or
yarn install
-
Set up environment variables:
Create a
.env
file in the root of your project and add the necessary environment variables:DATABASE_URL=your-database-url NEXTAUTH_URL=your-nextauth-url SUPABASE_URL=your-supabase-url SUPABASE_ANON_KEY=your-supabase-anon-key
-
Run the development server:
npm run dev
or
yarn dev
Open http://localhost:3000 with your browser to see the result.
- To browse available flights, navigate to the flights section.
- To book a flight, select your desired flight and follow the booking process.
- To manage your bookings, log in to your account and navigate to the bookings section.
Contributions are always welcome! Please feel free to submit a Pull Request.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/YourFeature
) - Commit your Changes (
git commit -m 'Add some feature'
) - Push to the Branch (
git push origin feature/YourFeature
) - Open a Pull Request
- Author: Justin Pham
- Project Link: 480Airlines Repository