SteerAway is a comprehensive car rental reservation system backend with features for booking and managing car rentals. Users can easily search for available cars, make booking, and admin can manage bookings and returns.
- User Authentication: Secure sign-up and login functionality.
- Car Search and Filter: Admin can filter bookings based on carId and date.
- Booking Management: Users can view the cars, book it if available.
- Admin: Manage cars, bookings.
- Backend: Typescript, Node.js, Express
- ODM: Mongoose
- Database: MongoDB
- Deployment: Vercel
Follow the following instructions to run the application locally.
Open command prompt(cmd
) in folder where you want to add the project.
Run the following command to clone the repository:
git clone https://github.com/rakibul58/steerAway-batch-3-assignment-3.git
Open the cloned folder or run the following in cmd:
cd steerAway-batch-3-assignment-3
In the cloned folder run the following command on cmd:
npm install
On the root directory add a .env
file and add your database url and other environment variables bellow:
NODE_ENV=development
PORT=5000
DATABASE_URL=
BCRYPT_SALT_ROUNDS=
JWT_ACCESS_SECRET=
JWT_ACCESS_EXPIRES_IN=
DEFAULT_PASSWORD=
Run the following code to start the development server:
npm run start
Other commands can be found in package.json scripts
Once the application is set up and running, you can access it at http://localhost:5000 (or the appropriate port if specified differently). From there, you can create an account, log in, and start booking cars.
- Email: admin@test.com
- Password: admin123
- Email: user@test.com
- Password: user123
For any questions or feedback, please contact:
- Name: Muhammed Rakibul Hasan
- Email: rhrahi14@gmail.com