Database already contains two accounts and one restaurant. They are created when application started (see AutoDevDataPopulator.java, TestFixtures.java).
- curl -H "Content-Type: application/json" -X POST -d '{"username":"user", "password":"password"}' http://localhost:8080/auth/login
- curl -i -H "Content-Type: application/json" -X POST -d 'jamies' http://localhost:8080/restaurant/create
- curl -i -H "Content-Type: application/json" -X POST -d '{"restaurantName":"Jamies", "menu": {"pasta":"5.5", "new york":"15"}}' http://localhost:8080/restaurant/menu
- curl -i -H "Content-Type: application/json" -X POST -d 'Jamies' http://localhost:8080/vote