Skip to content

Full stack web application that allows users to rent bikes (extendible to any type of vehicle)

Notifications You must be signed in to change notification settings

kumar-shivam-ranjan/BikeRentalCRUD-springboot-mongoDB-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BikeRentalCRUD-springboot-mongoDB-app

Problem Statement

This project aims to solve the problem of Renting Bikes remotely and hence provides the solution that facilitates the process of renting bikes online on daily and weekly basis.

Overview

  • Full stack web application that allows users to rent bikes (extendible to any type of vehicle)
  • Facilitates the process of renting a vehicle
  • Rent bikes/cars on daily or weekly basis.

Introduction

A company has many hubs located across the city. Each hub has some bikes parked in that location which are available for booking. Customers can check for availability in respective hubs and book bikes on daily/weekly basis. Prices vary based on time duration of booking. It will be the customer 's responsibility to return the bikes on time. Bikes will be available for renting again once customers return it. If 2 customers request for booking at the same time, only one will be booked and the other will be denied.

  1. Customers can book bikes from any hub.
  2. Customer can register themselves into system
  3. System should to extensible to add new hubs
  4. System should support the addition of new vehicles - cars etc.

Technology

  • Spring boot
  • MongoDB
  • Thymeleaf

Steps to run this project:

  • Step 1: Clone this github repository through git clone https://github.com/ksrrock/BikeRentalCRUD-springboot-mongoDB-app.git
  • Step 2: Open the Root folder BikeRentalCRUD-springboot-mongoDB-app on your favourite IDE (IntelliJ or SpringToolSuite)
  • Step 3: Run the imported project using the run button on your IDE
  • Step 4: Access the User Dashboard at http://localhost:8080/user/index
  • Step 5: Access the admin Dashboard at http://localhost:8080/adminlogin
  • Step 6: Credentials for Admin Login is:

Schema

Users Vehicles Station
User ID Vehicle ID Station ID
First Name vehicle type Station Head
Last Name Engine Head contact
Email Fuel type Street
Password Mileage city
Role Description State
Contact Daily Price Pincode
Driving License Weeky Price
Inventory Booking Requests
Vehicle ID User ID
Station ID Vehicle ID
Quantity Station ID
Availability status CheckIn time
checkOut Time
Total Price

Rest Endpoints

Swagger UI has been used for REST API documentation.

It can be accessed via the URL: http://localhost:8080/swagger-ui/index.html

Screenshot 2022-01-28 at 9 41 16 PM

Screenshot 2022-01-28 at 9 39 24 PM

Screenshot 2022-01-28 at 9 55 17 PM

Screenshots

Screenshot 2022-01-29 at 4 44 09 PM

Screenshot 2022-01-29 at 4 44 20 PM

Screenshot 2022-01-29 at 4 44 30 PM

Screenshot 2022-01-29 at 4 44 42 PM

Screenshot 2022-01-29 at 4 44 55 PM

Screenshot 2022-01-29 at 4 45 03 PM

To know more about me , visit : https://ksrrock.github.io/

About

Full stack web application that allows users to rent bikes (extendible to any type of vehicle)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published