Skip to content

5krotov/task-resolver-api-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Api Service

Make

Build

make -f ./scripts/Makefile build

Run

make -f ./scripts/Makefile run

Clean

make -f ./scripts/Makefile clean

Docker

Build

docker build -t api-service -f ./.docker/Dockerfile .

Run

docker run -p 8080:8080 api-service

requests:

curl -X POST \                
  http://localhost:8083/api/v1/task \
  -H 'Content-Type: application/json' \
  -d '{"name": "Новая задача", "difficulty": 1}'
curl -X GET \ 
  http://localhost:8083/api/v1/task/123

correct difficulty [0, 10]

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors