View Code? Open in Web Editor
NEW
Ruby on Rails calendar API
calendar-api's Introduction
- Ruby version 2.5.1
- Rails version 5.2.0
- Run
docker build -t calendar-api .
- Run
docker run -p 8080:3000 -i -t calendar-api
- Running on localhost:8080
- Run
bundle install
to install all dependencies
- Run
rails db:migrate RAILS_ENV=development
- Run
rails server -p 8080
to launch server on port 8080
- Running on localhost:8080
- GET
/api/events
- POST
/api/event
with params title:string, description:string, ts:integer
- DELETE
/api/event/:id
- PUT
/api/event/:id
with params title:string, description:string, ts:integer
calendar-api's People
Contributors
Stargazers
Watchers