Room Booker Project

Project structure

MVP gradle module

Java module with no Android dependencies. It contains following packages:

App gradle module

Android gradle module.

Launching stub backend service

  1. Install ruby on your machine
  2. Install Sinatra framework gem using sudo gem install sinatra
  3. Launch backend service from backend folder ruby sinatra.rb

Limitations of mocked API

Responses from sinatra framework service are based on static JSON files which are located in \backend folder. There is no implementation for storing data. POST request operation for events have mocked response with static event in body - it has no influence on events list. Also POST request has no error handling for operation, so adding events operation is always successful. Sinatra service implementation is added only to show the general structure of API interface.

Used libraries

Copyright

Published under the MIT License. Copyright (c) 2015 Macoscope sp. z o.o.