Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 724 Bytes

File metadata and controls

40 lines (30 loc) · 724 Bytes

Async recruitment task

How to run 🔨


From console:

  • Be sure you computer has Docker installed!
  • Download repository
  • Open projec directory
  • Open console in directory and type: docker-compose up

PASSWORDS & PORTS

MYSQLDB_USER=root
MYSQLDB_ROOT_PASSWORD=admin

MYSQLDB_LOCAL_PORT=3307
MYSQLDB_DOCKER_PORT=3306

SPRING_LOCAL_PORT=6868
SPRING_DOCKER_PORT=8080

END POINTS

CREATE TASK: [POST METHOD] http://localhost:6868/api/tasks/
JSON Body:

{
    "base":"5",
    "exponent":"5"
}

GET ALL TASK: [GET METHOD] http://localhost:6868/api/tasks/

GET TASK WITH ID 10: [GET METHOD] http://localhost:6868/api/tasks/10