This is a simple java play application to support CRUD operations on Hikes and its corresponding Reviews.
- Start a local mysql database and update the configuration file located in
conf/application.conf
with theurl, username and password
- In your terminal, cd into the root dir of the project and run the command
sbt run
. This should open up a browser with the default urllocalhost:9000
- You can use the routes specified in the
conf/routes
files. Listed below are the Urls.#Hike urls GET /hikes GET /hikes/:hikeId POST /hikes PUT /hikes DELETE /hikes/:hikeId # Review urls GET /reviews GET /reviews/:hikeId POST /reviews PUT /reviews/:reviewId DELETE /reviews/:review
-
HikeController.java:
An async controller for performing CRUD operations for Hikes.
-
ReviewController.java:
An async controller for performing CRUD operations for Reviews.
- Add unit/integration tests for all controllers
- Add user profiles and relationships
- Host the application on a AWS server
- Create native android application support