Skip to content

RayhungKao/NTHU-tripbook-api

Repository files navigation

Tripbook API

API to store and share a calendar, to facilitate users organise events.

Routes

All routes return Json

  • GET /: Root route shows if Web API is running
  • GET api/v1/events/: returns all configuration IDs
  • GET api/v1/events/[ID]: returns details about a single event with given ID
  • POST api/v1/events/: creates a new event

Install

Install this API by cloning the relevant branch and installing required gems from Gemfile.lock:

bundle install

Test

Run the test script:

ruby spec/api_spec.rb

Execute

Run this API using:

rackup

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published