Assignment Task
RESTFul API Implementation and continuous deployment
TEST 1: Build REST API
Use your preferred language to develop REST API for student enrolment project for a school (Recommended Java or node.js). You can persist data in any database of your choice.
You can send following JSON as POST, PUT, DELETE and GET requests to REST endpoints
New student enrollment:
This will add a new record
POST request:
{
“id”:223445,
“firstName”: “Mike”,
“lastName”: “Wong”,
“class”:”3 A”,
“nationality”: “Singapore”
}
Update student record:
This will update an existing record on the basis of unique ID
PUT request
{
“id”:223445,
“class”:”3 C”
}
Delete student record
This will delete an existing record on the basis of unique ID
DELETE request
{
“id”: 223445
}
Fetch students record
Fetch bulk record: all students in database for that class
GET Request, param in uri (http://yourdomain/fetchStudents? class= 3 A)
Fetch student record by student id
GET Request, param in uri (http://yourdomain/fetchStudents? Id=223444)
Store data on database
You will be evaluated on
Code style and reusability
Unit test cases
Logging and code comments/ documentation
Proper Readme to build, run and test the code
TEST 2:
Run above API on your machine
TEST above Rest API using Cucumber test scripts, BDD approach.
Code coverage using SonarQube
Perform integration test between app and database layer
Good to implement, but not mandatory:
Build a CI/CD pipeline of your choice (EX: TeamCity/Jenkins/buildkite) and build, test (by injecting cucumber script) and deploy code on your machine.
This IT Assignment has been solved by our IT experts at Schooling Best. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+ Students in Australia, UK & US by helping them to score HD in their academics. Our Experts are well trained to follow all marking rubrics & referencing style.
Be it a used or new solution, the quality of the work submitted by our assignment experts remains unhampered. You may continue to expect the same or even better quality with the used and new assignment solution files respectively. There’s one thing to be noticed that you could choose one between the two and acquire an HD either way. You could choose a new assignment solution file to get yourself an exclusive, plagiarism (with free Turnitin file), expert quality assignment or order an old solution file that was considered worthy of the highest distinction.