Skip to content
/ oto-api Public

Rails API Back-End for Outdoor Trip Organizer (OTO)

License

Notifications You must be signed in to change notification settings

soynog/oto-api

Repository files navigation

OTO API

Routes

Verb URI Pattern Controller#Action
POST /sign-up users#signup
POST /sign-in users#signin
DELETE /sign-out/:id users#signout
PATCH /change-password/:id users#changepw
GET /users users#index
GET /users/:id users#show
POST /trips trips#create
GET /trips trips#index
GET /trips/:id trips#show
PATCH /trips/:id trips#update
DELETE /trips/:id trips#destroy
POST /invitations invitations#create
GET /invitations invitations#index
GET /invitations/:id invitations#show
PATCH /invitations/:id invitations#update
DELETE /invitations/:id invitations#destroy

Schemas

User

column name type
email STRING
token STRING
password STRING
first_name STRING
last_name STRING

Trip

column name type
name STRING
start_date DATE
end_date DATE
location STRING
description TEXT
user_id FOREIGN KEY

Invitation

column name type
user_id FOREIGN KEY
trip_id FOREIGN KEY
status STRING

Links

About

Rails API Back-End for Outdoor Trip Organizer (OTO)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages