- Maven
- Java 1.8 (or higher, update version in pom.xml if needed)
- Project root is located in
backend
folder
mvn package && java -jar target/interview-1.0-SNAPSHOT.jar
curl -X GET http://localhost:8080/api/welcome
- Design a CRUD API with data store using Spring Boot and in memory H2 database (pre-configured, see below)
- API should include one object with create, read, update, and delete operations. Read should include fetching a single item and list of items.
- Provide SQL create scripts for your object(s) in resources/data.sql
- Demo API functionality using API client tool
This is an open ended exercise for you to showcase what you know! We encourage you to think about best practices for structuring your code and handling different scenarios. Feel free to include additional improvements that you believe are important.
- Console: http://localhost:8080/h2-console
- JDBC URL: jdbc:h2:mem:testdb
- Username: sa
- Password: password
Once you have finished the coding exercise please create a PR into Tekmetric/interview