Skip to content

main API for exposing all functionalities of the PokeMate application

Notifications You must be signed in to change notification settings

PokeMate/backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

102 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PokéMate Backend Service

The backend service facilitates requests from the frontend with the micro-service infrastructure of the PokéMate™ application. The backend service is a Spring Boot REST application.

Prerequisites

Dependency Version Required Description
Java JDK 1.8 True Java Environment
---------- ------- -------- ----------------

Service Installation

Copy the files the generated jar-File into your execution environment:

cp pokemate-backend-{VERSION}.jar backend/executionEnv

Without Docker

Create an execution environment to host the spring boot application.

Start the application:

java -jar pokemate-0.0.1-SNAPSHOT.jar

java -jar -Dspring.profiles.active=docker build/libs/pokemate-0.0.1-SNAPSHOT.jar --debug

With Docker

Build the Docker container.

docker build --build-arg JAR_FILE=pokeMate/build/libs/*.jar -t pokemate/spring-backend .

Run the docker container and map the internal port to external port-

docker run -p 5100:8080 -t pokemate/spring-backend

Run tests

curl localhost:5100

The test should return the following response: Greetings from PokeMate!

Swagger

Endpoints are documented using Swagger. To access the interactive documentation got to: /swagger

About

main API for exposing all functionalities of the PokeMate application

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •