Skip to content

HW3

Overview

You will be creating a RESTful API with Javalin!

Day Date Time
Release Wed Feb 19, 2020 11:00 PM
Due Wed Feb 26, 2020 11:00 AM

Changes to Homework!

I'm not liking the process of collecting homework on GitHub! The workflow has more flaws than benefits so we are moving to Gradescope.

Gradescope is only for homework!

Only homework submission will be on gradescope. For project iterations, we continue to collect your work and disseminate feedback through GitHub.

Please refer to the section on "Submitting to Gradescope" for submission information.

We want to make sure everyone in this course has baseline technical skills. The tutorial-style lectures and the homework are to that aim. It seems, however, this aim is better (and faster) achieved if we allow you to work with your teammates on homework. So, for this and the following homeworks:

  • You must work with people in your (project) group.
  • You as a group will submit one solution.
  • All group members will receive the same grade.

No more late days

Now that you work in group on homework, we will take away your late days! You will have no late day. The deadline for homework is firm and you must submit your work by the deadline.

Task

Head to HW03 Starter Code and download the repository. The repository is public so you should not have any issues to access it.

Once downloaded, open the oose_hw3_starter folder as a Gradle project in IntelliJ.

The provided Java application is built on our classwork (RESTful API for CourseReVU app). There are several TODO placed in the code that indicates what you need to do.

Read the readings first, please!

It is strongly advisable that you read the readings for lecture 6 before starting this homework.

The provided starter code is (deliberately) different from what we had done in class. The goal is to implement a RESTful API using Javalin.

Manual Testing

You will find a Postman Collection in /src/main/resources/postman; open the collection in the Postman application. The collection contains several HTTP requests that can help you with manual testing of your API.

Submission

You must create a zip file containing the following files and folders (and all files and folders therein):

1
2
3
4
5
6
.
├── build.gradle
├── gradlew
├── gradlew.bat
├── settings.gradle
└── src

Note

Make sure there is no extra top-level directory that your src folder and (Gradle related) files are inside of.

Submit to Gradescope

We will be collecting submissions through Gradescope. If you don’t already have an account on Gradescope, sign up for one. Make sure to use your JHU Exchange email address to sign up.

  • Once you login to Gradescope, add a course and provide the following entry code: 9DZN38

  • In the course Dashboard, you will see an assignment: HW03.

  • Submit your work by uploading the zip file.

Because this is a group assignment, you must indicate all students who worked on it, in the submission page. The last submission by any group member is the only one we will grade.

Note

You can resubmit any time up until the deadline. Only your most recent submission will be graded.