A Java SpringBoot web application,for Courier Services Companies, following the MVC Architecture framework, design principles and patterns.
Enables Admins to update courier costs and manage staff actions, Staff to view pickup and delivery logs based on their working location, and Customers to place couriers, view the courier status at any time, and see their booking history too!
- 👥Admins: Update courier costs, manage staff actions.
- 👥Staff: View pickup and delivery logs based on their working location.
- 👥Customers: Place courier requests, view courier status, and access booking history.
- Patterns : MVC, Singleton, DAO(Data Access Object), Adapter
- Principles : Single Responsibility Principle(SRP), Separation of Concerns, Open Closed Principle(OCP), Liskov Substitution Principle(LSP)
Make sure you have the following installed on your system:
Java JDK (v17 or higher) Apache Maven MySQL
Refer to Codebase
- change directory :
cd demo
mvn spring-boot:run
to run the application- visit
localhost:8080/home
to see the application running - you can test the endpoints using Postman
- Create a database in mysql(<DATABASE_NAME>) under which all entity tables will get created
- Create
.env
file is created containing all database connections credentials. It should contain the following:
- DB_URL=jdbc:mysql://localhost:<MYSQL_DATABASE_PORT>/<DATABASE_NAME>
- DB_USERNAME=<MYSQL_DATABASE_USERNAME>
- DB_PASSWORD=<MYSQL_DATABSE_PASSWORD>
- Have some dummy username & password under the admin , newstaff and customer lopgin tables.
- Ensure
.env
file is created under the root directory i.edemo
.