Sitelet https://github.com/CorainChicago/DonutDatabase
Skip to content

Latest commit

 

History

270 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

##Donut Database

This is a Rails app started to promote the evaluation of donuts in Chicago, then I realized that was being selfish. Everyone deserves the best donut.

curl '-H token: 349ab29a-xtab-423b-a5hc-5623bc39b8c8"=b/Ow2LotEIDWacnPquLMqzuhgiRyaBS9ARxhMXNvLKk/QOT97cFBqXyoOdD5Uq3XcHcwJqbZXZxLzMomhWFaFQ= options=token@user.com' http://localhost:3000/api/v1/donuts

##Login Example

curl --data "email=token@user.com&password=password" http://localhost:3000/api/v1/sessions

Returns JSON for the User

curl --data "email=token@user.com&token=b/Ow2LotEIDWacnPquLMqzuhgiRyaBS9ARxhMXNvLKk/QOT97cFBqXyoOdD5Uq3XcHcwJqbZXZxLzMomhWFaFQ==" http://localhost:3000/api/v1/donuts

curl -X GET 'http://localhost:3000/api/v1/donuts?email=token@user.com&token=b/Ow2LotEIDWacnPquLMqzuhgiRyaBS9ARxhMXNvLKk/QOT97cFBqXyoOdD5Uq3XcHcwJqbZXZxLzMomhWFaFQ=='

About

A resource for donut reviews

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages