This project has been developed to meet the coding challenge from CingleVue.
The technologies used to develop this project are:
- Scala
- Reactive Mongo (Asynchronous access to MongoDB)
- Scalatra framework (For developing the REST API)
- Angular (For the UI layer)
To build & run this project, you will need to have SBT preinstalled. Once you have SBT installed you need to setup an application.conf
file in the src/main/resources
directory. A sample has been provided. Just populate your own values. A key thing to note, you can define the database in the application.conf
file, but the Mongo collection used HAS to be named Schools
$ cd CingleVue_Coding_Challence
$ sbt
> container:start
> browse
If browse
doesn't launch your browser, manually open http://localhost:8080/ in your browser.
There is a script in the tests
which uses application.conf
to load data into the relevant collection. Just execute
>test:run-main com.cinglevue.challenge.FixtureLoader