Introducing Bike Book A Online Bike Rental Booking
Looking for a flexible, eco-friendly, and affordable way to get around the city? Bike Book is here to revolutionize the way you travel. Whether it’s a quick commute or a weekend getaway, Bike Book makes renting bikes and bicycles a breeze.
Bike Book is a simple, open-source, web-based bike rental system built using React.js, Node.js, and MongoDB, with a clean interface and robust features. It empowers both users and admins with seamless access and management capabilities.
Table of Contents
1.1 Purpose
BikeBook aims to modernize how people rent two-wheelers. Instead of buying and maintaining a bike, users can simply rent one when neededfrom multiple pickup pointsand return it after use. This solution promotes sustainability, reduces traffic congestion, and offers a practical commuting option for everyday users.
1.2 Features
User Features:
- Easy signup and login (including Google and Facebook)
- Identity verification via NID/Passport/DOB certificate
- Driving license validation for motorbike bookings
- Book one or more bikes simultaneously
- Select pickup & return dates
- Real-time bike availability based on date/time
- Dynamic price calculation based on booking duration
- Search bikes and filter by popularity or rating
- Read reviews/testimonials
- Subscribe for special offers
- Make secure card payments with unique transaction IDs
- View full booking history
- Late return penalties
- View pickup points on an interactive map
Admin Features:
- Admin dashboard access
- Add/update/delete bikes
- Add new admins
- Manage customer data
- Monitor reports and income statements
1.3 Technology
Frontend
- React.js For responsive UI and interactivity
- Bootstrap 4 For fast, mobile-first styling
- Redux For state management
Backend
- Node.js + Express.js Lightweight and fast backend
Database
- MongoDB NoSQL database with flexible schema
- Mongoose For data modeling and validation
Security & Middleware
- bcrypt Password hashing
- dotenv Environment variable management
- JWT Authentication and authorization
- cookie-parser HTTP cookie handling
- Multer File upload handling
Diagrams
Use Case Diagram
Class Diagram
Activity Diagram
Sequence Diagram
ER Diagram
Screen Shots
Homepage
User Login Page
User Signup Page
Admin Signin
Explore Bikes
Rent Bikes
Cart
⭐ Reviews
Admin Dashboard
Add Bikes
Available Bikes
Income Statements
Available Users
Installation
To run Bike Book locally:
Navigate to the project directory and install dependencies
npm install
- Set up environment variables
Create a.envfile and add your credentials (MongoDB URI, JWT secret, etc.) - Run the development server
npm run dev
- Open in your browser
Visit