Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Build a REST API in Spark!
You have completed Build a REST API in Spark!
Preview
A great place to start when architecting an API is the model. Let's build out what we will be using.
This video doesn't have any notes.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
we also know we will have
a review model object.
0:00
Now each course will
possibly have many reviews.
0:00
Now you might recognize this type of
model relationship as one to many.
0:04
One course, many reviews.
0:08
Let's do some modeling.
0:10
Okay so let's make a new IntelliJ
project and let's make it Gradle based.
0:13
So I'm gonna click Create New Project and
0:16
I'm gonna make sure that
Gradle is checked over here.
0:19
And I'm gonna click Next.
0:22
And for the Group ID,
let's make that com.teamtreehouse.courses.
0:25
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up