Skip to content

mmozhorov/outsource-task

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Animal-App

To start app locally:

docker-compose up -d

To stop app locally:

docker-compose down --rmi all

Also it is necessary to fill DB by data from next directory ( You can connect to DB after starting the App ):

https://github.com/Major98113/outsource-task/blob/master/animals-service/migrations/dump.sql

App will work on 8080 port
There are two endpoints:
GET http://localhost:8080/animals
POST http://localhost:8080/animals

        With body: {
            "kind": string,
            "positionX": number,
            "positionY": number
        }
        

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors