/parcel-delivery

Primary LanguageJavaMIT LicenseMIT

parcel-delivery

Getting Started

Make sure docker-compose is installed

Build jar files

Unix:

./build.sh

Windows:

build.cmd

Running the application

docker compose up -d

Application available on http://localhost:8080

Users

Admin user:

login: admin, password: admin

Register a new user:

POST /api/public/v1/auth/register {login, password}

Create a courier account, requires an admin account:

POST /api/v1/auth/courier/register {login, password}

Postman collection

Import Parcel.postman_collection.json file in root directory

Architecture

Architecture Diagram

Swagger API schema

User service

Auth service

Order service

Delivery service

Todo

  • Error handling (not fully completed)
  • Unit test coverage
  • Integration tests