That applications is a device (phone, tablet, etc) rental manager build during a Mappy hackaton.
It’s composed of 2 parts :
- a client page, used from the device to lock / unlock,
- a board page, listing all in-use of free devices.
A simple phonegap app, containing an index.html page with a redirection to that service is used to deploy on devices.
You’ll need node, npm and bower (npm install -g bower).
To use it, you‘ll need to :
- launch
npm installto install server dependencies, - launch
bower installto install client dependencies, - then launch the server with
make run, - open your browser on
http://localhost:4400/.
To run program as a service, run make start (and make stop to stop it).
During development, you can use make run or make debug. Both will reload the app when a file changes.
You can launch unit test using make unit or make tdd (Unit test will be launch each time a test changes).