- Create a complete Rails API.
- Build a separate application that communicates with the API.
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.
Run the following commands in Terminal:
$ git clone
this repository$ cd travel_api
$ bundle install
$ rails db:create
$ rails db:migrate
$ rails db:test:prepare
$ rails db:seed
- This API uses an Angular front end. Visit this repository and follow the setup instructions there.
$ rails s
to start the server.
There are no known bugs at this time.
If you have questions, comments, or concerns, please contact Margaret. Feel free to make a contribution to the code.
- Ruby-on-Rails
- ActiveRecord
- Devise Token Auth gem
This software is licensed under the MIT license.
Copyright (c) 2017 Margaret Berry and Sarah Lindmar