Skip to content

Practice building an API (Epicodus Rails Week 4 Monday)

Notifications You must be signed in to change notification settings

codemargaret/travel_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Travel API

A rails API that shows reviews of travel destinations, 12.14.2017

By Margaret Berry and Sarah Lindmar

Project Goals

  • Create a complete Rails API.
  • Build a separate application that communicates with the API.

User Stories

As a user, I want to...

  • GET and POST reviews about travel destinations.
  • GET reviews by country or city.
  • See the most popular travel destinations by number of reviews or by overall rating.
  • PUT and DELETE reviews I wrote.
  • As a user, I want to look up random destinations just for fun.

Setup/Installation Requirements

Run the following commands in Terminal:

  1. $ git clone this repository
  2. $ cd travel_api
  3. $ bundle install
  4. $ rails db:create
  5. $ rails db:migrate
  6. $ rails db:test:prepare
  7. $ rails db:seed
  8. This API uses an Angular front end. Visit this repository and follow the setup instructions there.
  9. $ rails s to start the server.

Known Bugs

There are no known bugs at this time.

Support and contact details

If you have questions, comments, or concerns, please contact Margaret. Feel free to make a contribution to the code.

Technologies Used

  • Ruby-on-Rails
  • ActiveRecord
  • Devise Token Auth gem

License

This software is licensed under the MIT license.

Copyright (c) 2017 Margaret Berry and Sarah Lindmar

About

Practice building an API (Epicodus Rails Week 4 Monday)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published