Skip to content

ErriekaP/bus-reservation-system

Repository files navigation

This is a Next.js project bootstrapped with create-next-app.

Ceres Tours Bus Reservation System

A bus reservation system that has functionalities for both administrators and passengers. Administrators can add new bus destinations, view the available tickets for each destination, and modify the destination name and the number of tickets. Passengers, on the other hand, have the capability to add new tickets, update existing ticket details, and delete tickets as needed.

Getting Started

First step is to install the libraries:

npm i

Then, to start the application, use this command:

npm run dev

To run the tests, use this command:

npm run test

To run the Prisma Studio, use this command:

npx prisma studio

These are the following libraries with their versions that was used:

  • "@prisma/client": "^5.6.0",
  • "bcryptjs": "^2.4.3",
  • "date-fns": "^2.30.0",
  • "jsonwebtoken": "^9.0.2",
  • "next": "14.0.3",
  • "next-auth": "^4.24.5",
  • "react": "^18",
  • "react-dom": "^18"
  • "@babel/preset-react": "^7.23.3",
  • "@testing-library/jest-dom": "^6.1.5",
  • "@testing-library/react": "^14.1.2",
  • "@testing-library/user-event": "^14.5.1",
  • "@types/bcryptjs": "^2.4.6",
  • "@types/jest": "^29.5.11",
  • "@types/jsonwebtoken": "^9.0.5",
  • "@types/node": "^20",
  • "@types/react": "^18",
  • "@types/react-dom": "^18",
  • "@types/testing-library__jest-dom": "^6.0.0",
  • "@vitejs/plugin-react": "^4.2.1",
  • "autoprefixer": "^10.0.1",
  • "babel-jest": "^29.7.0",
  • "jest": "^29.7.0",
  • "jest-environment-jsdom": "^29.7.0",
  • "jsdom": "^23.0.1",
  • "postcss": "^8",
  • "prisma": "^5.6.0",
  • "tailwindcss": "^3.3.0",
  • "typescript": "^5",
  • "vitest": "^1.0.4"

About

This bus reservation system, developed with NextJS, TailwindCSS, Typescript, Prisma, and SQLite, enables admins to oversee destinations and tickets. Passengers have the ability to add, update, and delete their tickets.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors