Skip to content

A drone RESTFul web service with endpoints to handle requests for managing drones used for transporting medications.. Technologies used; Java, Spring Boot, H2, Hibernate, Docker.

Notifications You must be signed in to change notification settings

EmekaMomodu/drone-web-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Drone Web Service

This is a RESTFul web service with endpoints to handle requests for managing drones used for transporting medications.

Prerequisites

The following installation(s) is(are) needed on your local environment to run the service.

ALTERNATIVELY (if Docker is not readily available)

Getting Started

These instructions will get the service up & running on your local environment.

  • For Docker Prerequisite Satisfied:
  1. Open terminal in project's root directory i.e where the file named Dockerfile is located.
  2. Run command docker build -t drone-web-service . to build the docker image.
  3. Run command docker run -p 8080:8080 -d drone-web-service to spin up a container for the created image.
  4. Services are now available at http://localhost:8080/.... View documentation for available endpoints.
  • For Java 8 & Maven Prerequisite Satisfied:
  1. Open terminal in project's root directory.
  2. Run command mvn clean install to install dependencies, build and package.
  3. Rum command java -Dspring.profiles.active=default -jar ./target/drone-web-service.jar
  4. Services are now available at http://localhost:8080/.... View documentation for available endpoints.

API Documentation

View api documentation at

Database Console

View H2 in-memory database at http://localhost:8080/h2-console login details specified at application.properties (while the service is running)

About

A drone RESTFul web service with endpoints to handle requests for managing drones used for transporting medications.. Technologies used; Java, Spring Boot, H2, Hibernate, Docker.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published