stock-management-visualDNA

This is a stock management service to maintain stock inventory for a restaurant.

Running the service

prerequistes:

  1. Maven 3
  2. Java 8
  3. Google chrome postman Plugin as API client

clone the project locally and build the jar with "mvn package" from the root of the folder Then you can run the Jar with "java -jar target/stock-management-1.0-SNAPSHOT.jar"

Hitting the endpoints

the service base URL is http://:8080/stock

Simply import postman collection into google postan plugin to use pre-configured requests. Ideally we shoudld do this with Swagger API documentation for better documentation.

examples of endpoints URLS:

Database

this service currently use in-memory database which is seeded at runtime, However schemas are included to configure a server mode sql data.