Skip to content

icehockeystar/recruiting-bff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

recruiting-bff

Prerequisites

  • JDK 11 (e.g AdoptOpenJDK)

How to build and run

  • To build an executable jar run: $ ./gradlew clean build
  • To run the application run: $ ./gradlew bootRun

Sample requests to API

  • Create job offer $ curl -XPOST -H "Content-type: application/json" http://localhost:8080/offers -d '{"jobTitle": "DevOps", "startDate": "2019-11-11T00:00:00Z"}'
  • Get list of offers $ curl -XGET -H "Content-type: application/json" http://localhost:8080/offers
  • Get offer by id: $ curl -XGET -H "Content-type: application/json" http://localhost:8080/offers/[OFFER_ID]
  • Apply for job offer: $ curl -XPOST -H "Content-type: application/json" http://localhost:8080/offers/[OFFER_ID]/applications -d '{"candidateEmail": "[email protected]", "resumeText": "my resume"}'

About

Challenge recruiting BFF

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages