2017 © Pedro Peláez
 

library reservations

Create your own reservation system, start with an API.

image

flatturtle/reservations

Create your own reservation system, start with an API.

  • Tuesday, October 24, 2017
  • by pietercolpaert
  • Repository
  • 13 Watchers
  • 32 Stars
  • 5 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 9 Forks
  • 3 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

Reservations

Build Status, (*1)

Reservations api to reserve things (such as meeting rooms), (*2)

Vocabulary

  • Thing: something that can be reserved. E.g., a meeting room.
  • Amenity: something that can be added to a reservation. E.g., wifi.
  • Reservation: a user reservation

Requirements

  • PHP => 5.3+
  • MySQL => 5.5

Installing

git clone git@github.com:FlatTurtle/Reservations.git
cd Reservations
php composer.phar install
# when deploying, be sure to chmod app/storage to 777
chmod -R 777 app/storage
# create a database for development purposes and add the credentials over here:
vim app/config/local/database.php
# Now add your hostname to the array in this file:
vim bootstrap/start.php

Finally, when doing a commit, please don't commit a filled out local/database.php!, (*3)

Using artisan to add and delete stuff

You can use artisan to generate the right parameters for a HTTP request towards the API., (*4)

Usage:, (*5)

./artisan reservations:addUser

./artisan reservations:addThing

//... todo

Testing

You can run the unittests by creating a mysql database called reservations_test. A user called travis should have access and the password should be blank., (*6)

# create a database for testing purposes and add the credentials over here:
vim app/config/testing/database.php
# run the tests
phpunit

For more questions, consult the wiki on github., (*7)

2013-2014 - FlatTurtle, (*8)

Code is licensed under AGPLv3, (*9)

The Versions

24/10 2017

dev-master

9999999-dev

Create your own reservation system, start with an API.

  Sources   Download

AGPL-3.0

The Requires

 

booking reservations meeting rooms

29/06 2014

dev-development

dev-development

Create your own reservation system, start with an API.

  Sources   Download

AGPL-3.0

The Requires

 

booking reservations meeting rooms

11/12 2013

dev-feature-cluster

dev-feature-cluster

Create your own reservation system, start with an API.

  Sources   Download

AGPL-3.0

The Requires

 

booking reservations meeting rooms

11/12 2013

dev-feature-reservationsbything

dev-feature-reservationsbything

Create your own reservation system, start with an API.

  Sources   Download

AGPL-3.0

The Requires

 

booking reservations meeting rooms

18/11 2013

0.1.1

0.1.1.0

Create your own reservation system, start with an API.

  Sources   Download

AGPL-3.0

The Requires

 

booking reservations meeting rooms

11/11 2013

0.1

0.1.0.0

The Laravel Framework.

  Sources   Download

MIT

The Requires

 

laravel framework