Skip to content

peetucket/scheduler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple scheduler API using Rails 4. Nothing fancy, will probably work with any Ruby version from the 1st Obama administration onward.

git clone <repo url> cd scheduler bundle install rake db:create:all rake db:migrate rake db:migrate RAILS_ENV=test

rails s

Visit localhost:3000

See github.com/gadabout/passport

bundle exec rspec

# The ticket type and asset kind are not dynamic, they are hardcoded in the model class. # No way to specify different clients for now (though data model supports it). # There is no authorization or authentication - anyone can do anything with the API. # There is no exception handling, users can request unavailable methods and things will just explode. They can also post invalid input and get explosions. # There is no exception tracking: got an error? We won’t know and won’t care! # Multiple duplicate and overlapping timeslots are all allowed. # Multiple duplicate boat names/capacities are allowed. # Allocations of tickets to boats is potentially non-optimal. It just finds the boat with the most capacity in any given timeslot and assigns new tickets to that boat. # There is no way to remove/cancel anything, and if you manually remove a booking, it won’t free up the space in the assignments table.

About

Scheduler API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors