This is a Next.js application for the frontend of a cab system.
-
frontend Github = https://github.com/mpatwa98/cab-system-frontend
-
backend Github = https://github.com/mpatwa98/cab-system-backend
-
frontend Hosted = https://cab-system-frontend-mpatwa98.vercel.app/
-
backend Deployed = https://cab-system-backend.onrender.com
- After a booking is done that cab will not be available to other until its journey is over.
- Go to Cab Management to make any cab Available.
- Web app is mostly responsive to almost all screen sizes. (Under Development)
- Create issue on repo if found (Since testing on all screen size is not possible for me).
- Beautiful UI implemented for better user experiences.
- When a booking is confirmed, server sends an email.
- A graph is designed and Dijkstra Algorithm is used to estimate the shortest path
- 5 cab type are implemented, also there price per minute can be changed by the admin
Make sure you have the following installed before proceeding:
-
Clone this repository to your local machine:
git clone https://github.com/mpatwa98/cab-system-frontend.git
-
Navigate to the project directory:
cd cab-system-frontend
-
Install dependencies using Yarn:
yarn install
To start the development server, run:
yarn run dev
The application will be available at http://localhost:3000
by default.
In the project directory, you can run the following commands:
Runs the app in the development mode with hot reloading.
Builds the app for production.
Runs the app.
cab-system-frontend/
├── app/ # React components
│ ├── pages/ # Next.js pages
├── components/ # Reusable React components
├── context/ # React context providers and consumers
├── public/ # Static files
├── utils/ # Utility functions and helpers
├── .env.local # Local environment variables (not committed to git)
├── .eslintrc.json # ESLint configuration
├── .gitignore # Specifies intentionally untracked files
├── jsconfig.json # JavaScript configuration for Visual Studio Code
├── .next-env.d.ts # TypeScript declarations for Next.js environment
├── next.config.js # Next.js configuration
├── package.json # Project metadata and dependencies
├── README.md # Project README file
├── tailwind.config.js # Tailwind CSS configuration
└── yarn.lock # Yarn lock file