Skip to content

chrxtina/capstone-api

Repository files navigation

Capstone Project: Full-Stack Application

Live application: https://chrxtina.github.io/capstone-client/

Front-end repository: https://github.com/chrxtina/capstone-client

About

Cup O' Sugar is a 'shareconomy' application that allows users to post items online and share them with their neighbors. The app is meant to foster community, provide a resource for those in need and possibly prevent unnecessary consumerism.

Dependencies

Install with bundle install.

API end-points

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 /categories categories#index
GET /categories/:id categories#show
PATCH /categories/:id categories#update
GET /items items#index
GET /items/:id items#show
POST /items items#create
PATCH /items/:id items#update
DELETE /items/:id items#destroy
GET /conversations conversations#index
GET /conversations/:id conversations#show
POST /conversations conversations#create
PATCH /conversations/:id conversations#update
GET /messages/:id messages#show
POST /messages messages#create

All data returned from API actions is formatted as JSON.

About

Backend for Cup O' Sugar

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published