In order to run the script type:
mvn spring-boot:run
In order to test the script type:
./mvnw test
If there are any problems let me know! Or if you figure it out, write in here how to resolve it!
-
Eclipse Problem: In order to run code through eclipse, you have to import the project as a maven project.
-
Lost two members of the team! AHHHHHHHH!
I've been copying and pasting from
FOR NEW API's
-
Add new API calls to WebController.java in WebServer/src/main/java/com/SiliconMoon/WebServer/controller
-
Bridge can be used if you want to create a new response class and don't want to recreate the wheel
-
Response classes return all their variable, so if you don't want everything to be returned be sure to create a new reponse class.
-
Many Collection resources:
- /movie
- /movie/winner
-
Many Singleton resources:
- /movie/title/cleo?category=assistant+director
- /movie/id/288
-
Connect to OMDB API to retrieve extra data
-
Has a GUI
-
Well designed HTML Documentation ;)
-
Test-Driven Development on APRIL 20TH, 2020 Then implemented the tests on MAY 4TH, 2020
-
Created Contextual Inqueries and Personas. *
-
Created Low Fidelity Mock-ups and WireFrame for the pages created. *
-
Took a short video clip of pair programming on the GUI. *
-
Followed The Java Code Conventions standard, and refactored code on MAY 4TH, 2020
-
Used SonarQube. *
-
The Site uses Derby, which is a form of SQL used by SPRING BOOT.
GITHUB: https://github.com/Silicon-Moon/WebServer
FLYING DONUT: https://www.flyingdonut.io/app/project/project-id=5e586e37256f0734f4770bd4
-
/movie: to see a collection of the movies nominated.
- EXAMPLE: GET: http://localhost:8080/movie
- You can also query:
-
title
- EXAMPLE: GET: http://localhost:8080/movie?title=cleo
-
category
- EXAMPLE: GET: http://localhost:8080/movie?category=actor
-
year
- EXAMPLE: GET: http://localhost:8080/movie?year=1934
-
winner
- EXAMPLE: GET: http://localhost:8080/movie?winner=true
-
asc
- entity
- category
- year
- winner
- EXAMPLE: GET: http://localhost:8080/movie?asc=year
-
desc
- entity
- category
- year
- winner
- EXAMPLE: GET: http://localhost:8080/movie?desc=year
-
-
/movie/ASC: sort movies in ascending order according to title
- EXAMPLE: GET: http://localhost:8080/movie/ASC
-
/movie/winner: To just see the winners
- EXAMPLE: GET: http://localhost:8080/movie/winner
- You can also query:
-
title
- EXAMPLE: GET: http://localhost:8080/movie/winner?title=cleo
-
category
- EXAMPLE: GET: http://localhost:8080/movie/winner?category=actor
-
year
- EXAMPLE: GET: http://localhost:8080/movie/winner?year=1934
-
asc
- entity
- category
- year
- winner
- EXAMPLE: GET: http://localhost:8080/movie/winner?asc=year
-
desc
- entity
- category
- year
- winner
- EXAMPLE: GET: http://localhost:8080/movie/winner?desc=year
-
-
/movie/title/{title}: to search for a movie title
- EXAMPLE: GET: http://localhost:8080/movie/title/cleo
- You can also query:
-
category
-
year
- EXAMPLE: GET: http://localhost:8080/movie/title/cleo?year=1934
-
winner
- EXAMPLE: GET: http://localhost:8080/movie/title/cleo?winner=true
-
asc
- entity
- category
- year
- winner
- EXAMPLE: GET: http://localhost:8080/movie/title/cleo?asc=year
-
desc
- entity
- category
- year
- winner
- EXAMPLE: GET: http://localhost:8080/movie/title/cleo?desc=year
-
-
/movie/category/{category}: to search for an award category
- EXAMPLE: GET: http://localhost:8080/movie/category/actress
- EXAMPLE: GET: http://localhost:8080/movie/category/actress&CINEMATOGRAPHY
- You can also query:
-
title
- EXAMPLE: GET: http://localhost:8080/movie/category/actress?title=bette
-
year
- EXAMPLE: GET: http://localhost:8080/movie/category/actor?year=1934
-
winner
- EXAMPLE: GET: http://localhost:8080/movie/category/actor?winner=true
-
asc
- entity
- category
- year
- winner
- EXAMPLE: GET: http://localhost:8080/movie/category/actor?asc=year
-
desc
- entity
- category
- year
- winner
- EXAMPLE: GET: http://localhost:8080/movie/category/actor?desc=year
-
-
/movie/yearRange/{year1}/{year2}: Search by date range
- EXAMPLE: GET: http://localhost:8080/movie/yearRange/1934/1940
-
/movie/year/{year}: Search by one year
- EXAMPLE: GET: http://localhost:8080/movie/year/1934
- You can also query:
-
title
- EXAMPLE: GET: http://localhost:8080/movie/year/1934?title=cleo
-
category
- EXAMPLE: GET: http://localhost:8080/movie/year/1934?category=actor
-
winner
- EXAMPLE: GET: http://localhost:8080/movie/year/1934?winner=true
-
asc
- entity
- category
- year
- winner
- EXAMPLE: GET: http://localhost:8080/movie/year/1934?asc=category
-
desc
- entity
- category
- year
- winner
- EXAMPLE: GET: http://localhost:8080/movie/year/1934?desc=category
-
-
/movie/id/{id}: Search by movie id
- EXAMPLE: GET: http://localhost:8080/movie/id/12