Skip to content

thiagobdp/grawards

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Worst Movie Golden Raspberry Awards.

Getting Started

Clone this repository in your computer: https://github.com/thiagobdp/grawards

💻 Running the project

Start running GRAwardsApplication.java. The CSV file "movielist.csv" which is located in the path "src\main\resources" will be loaded.

To change the data, just replace this file.

When loading, data will be splitted in 3 entities: Indicated, Producer and Studio.

Producer and Studio will be stored with non-duplicated names.

A rest service is available for consultation in "/producer/fastestSlowestWinner" to get the producer with the longest gap between two consecutive awards, and the one with the fastest two awards.

Rest services for Producer, Studio and Indicated are also available to list all records.

Services Paths:

/indicated

/studio

/producer

🔬 Running Tests

Use Manven Test to run all tests together. In Eclipse IDE, righ click "pom.xml" -> "Run as" -> "Maven test"

Tests will use "test" profile and will load the CSV file "movielist-test.csv" which is located in the path "src\main\resources".

Data in this CSV file is exclusive for tests running, so don't change it unless you know what you are doing.

Tests uses a specific DB but also in H2.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages