Diber-backend
Diber-backend copied to clipboard
Delivery Service - Spring Boot / Spring Data Jpa / Hibernate / PostgreSQL / OAuth2 Application
Diber (backend)
Spring Boot / Spring Data Jpa / Hibernate / PostgreSQL / OAuth2 Application
Diber is the delivery service of goods like Uber. Anyone can register as a customer or courier. Customers can make requests for the delivery of goods, and couriers can accept and fulfill these requests.
The system provide many features, here are the most important ones:
Customer:
- Submit an order (order management)
- Viewing a single order and its status
- Appointment of the courier to your order (choose from the list of suggestions)
- Look at profiles couriers (search, filter, etc.)
- Review and evaluation of the courier after the order
- Track order status and location (after the adoption of the courier)
- Chat with the courier
Courier:
- Search orders, view order list
- Submitting an application for an a specific order
- View a list of orders (all of courier orders)
- View, execution, change the status of the received order
- View your profile and reviews, rating
- Confirm profile by sending the documents (as confirmed in the VK or Twitter)
- View orders statistic
- Chat with the customer
Frameworks
This app use following Spring projects, libraries and frameworks:
How to build and run
Just run with maven
mvn clean package spring-boot:run
Spring Security and OAuth2
You can find more information about Spring Security and OAuth2 integration by following this link.
REST API (coming soon)
Our REST API uses Spring Data Specifications that provide flexible query language and allows you to filter down to exactly the resources you need.
Auth
- About OAuth 2.0 token based requests in this project you can read there
- POST /api/v1/auth/register - Register user