richieoscar / AgroLogistics

A Backend System for a Logistics Company

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AgroLogistics

A Backend System for a Logistics Company

HOW TO USE

RUN WITH DOCKER COMPOSE

Make sure docker is installed on your machine

Set your DB credentials in the enviroment section of the services in the docker compose

MYSQL_ROOT_PASSWORD: MYSQL_ROOT_USER:

run the docker compose file with the command below

cmd: docker compose up -d

application server runs on port 9080

RUN WITHOUT DOCKER COMPOSE

Clone the repository

Install MYSQL Database on Your local machine(if you do not already have one)

In the Application.yml set up your DB credentials for your local setUp

Run the application in preferred IDE

Docker image can be gotten with command

docker pull richieoscar/agrologistics:lts

TECHNOLOGIES

JAVA

SPRINGBOOT

Application Startup

Default admin user is created

Credentials Below

{ "email": "admin@system.com", "password": "password20" }

Login with credentials to get accessToken

Some Endpoints are only accessed by admin

Response code of 403 is returned where user does not have admin role

CICD

Github Actions

Postman Documentation

Link : https://documenter.getpostman.com/view/18126363/2s93K1pzPW

About

A Backend System for a Logistics Company


Languages

Language:Java 100.0%