- Create a microservice API using Java Spring Boot for the functional requirements below
- Your system should utilize the following libraries at minimum
- Java 7
- Maven 3.2
- Gradle 2.5
- From a fork of this exact same repo, send a link to your work to info@pragmanila.com .(If you dont have a github account, it has to be created)
- The REST API should serve the following routes:
-
GET /humans
- Retrieve all humans in the database -GET /human/{id}
- Retrieve a single human record by ID -POST /human
- Create a new human record -PUT /human/{id}
- Update a human record by ID -DELETE /human{id}
- Delete a human record by ID - The REST API should accept and serve data in JSON format
- Use the following schema:
-
id, first_name, last_name
- Bonus - Using a javascript framework of your choice, create a simple UI Client and connect to your API
- Although there are a lot of available frameworks that can help you build your API rapidly, for this exam, we want you to build your API using a fresh install of Java Spring Boot. We want to see your fundamentals.
- There is no time limit. You can polish the application as you see fit before submitting.
- Be mindful of OpenAPI 3.0 standards
- Completed exam should be pushed through github on a public repo so our evaluators can access and run your work
- Clearly written code is a big plus
- Use best practices and standards to write code
- We'll be looking at how you commit code.