iAdvize Scala back end developer test
- Install jdk8
- Install sbt
- Install IntelliJ Idea (works better on Ultimate)
- Install MongoDB
Import the project via IntelliJ as an sbt project. All the dependencies will be load.
Before running anything, you have to launch a mongo server.
To do so, just launch for a terminal :
mongod --dbpath /data/db/
Then you can run the scrapper : To run it, you have to launch the main method in VDMScrapper
And finally, you can start the REST API : To do so, create a new sbt task, with "run" in the "Tasks" field
The tests are available in the test/controllers folder. You caun launch them via IntelliJ