"Sample Car Booking App" is a java and angular based web application that can be used to book a car on rent.
Two types of users can register in this application "Customer" and "Dealer".
Dealer: users will be adding the cars for the listed outlets/location. has options on the dashboard to add, edit, delete, and update the cars and the list cars added by him/her including searching, sorting, and pagination functionality.
Customer: users will be booking the cars added by any dealer. can see the list of cars on their dashboard with searching, sorting, and pagination functionality. Apart from these options, customer has an additional button "Book Now" with each listed car to book that car.
Both (Customer and Dealer): users can see their bookings and profile from the sidebar menu after login.
- Latest Angular version has been used for better performance.
- Angular Router has been used to make this SPA (Single Page Application) for better performance.
- Latest Angular Material components has been used in the application for better user experience. For example sidebar, card, table, and dialog, components etc .
=======================================================================
Install following before running the app:
-
- jdk (8.0 used)
-
- maven (3.3 used)
-
- mysql server (8 used)
-
- NodeJs (10.16.0 LTS used)
-
- Angular CLI (8.0.0 LTS used)
=======================================================================
-
- start MySQL server
-
- change mysql root credential in "carbooking/api/src/main/resources/application.yml"
-
- create database "carbooking" in MySQL
-
- Run mvn clean install
-
- java -jar <above_created_jar>
-
- Make sure you have executed mvn clean install
-
- docker build .
-
- docker run <image_name>
=======================================================================
-
- Open cmd
-
- Go to
-
- npm install
-
- ng serve --open