8000 GitHub - enalihai/history_maps_be
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

enalihai/history_maps_be

Repository files navigation

HISTORY MAPS

HistoryMaps

Table of Contents
  1. About Our Project
  2. How to Access Our History Maps API
  3. Contributors

About our Project


History Maps is a backend Ruby on Rails project that calls multiple API's in order to provide a JSON package for our History Maps FE to consume.  

The purpose of this project is to build an efficient API to streamline our Frontends consumption of information.  

We have many great thoughts for our project, but if you would like to contribute, feel free to reach out to any of the contributors on GitHub! Find our contact information below!!

Built With

Tested With

(back to top)

How to access our History Maps API


If you have experience with consuming APIs, please see then endpoints below and feel free to experiment with everything we provide!  

If you are new to APIs, the endpoints provided below will return JSON information for you to use on your website. By getting familiar with how API information is packaged, you will find multitudes of information to consume! ENJOY!!!!

Endpoints Available


GET '/api/v1/users'

  • Routes to users#index

GET '/api/v1/users/:id'

  • Routes to users#show

POST '/api/v1/users/register'

  • Routes to users#create

GET '/api/v1/users/:id/favorites'

  • Routes to favorites#index

POST '/api/v1/users/:id/favorites'

  • Routes to favorites#create
  • Example Json Result: POST Favorite

GET '/api/v1/search'

  • Routes to location_search#show
    • params: location
  • Example Json Result: GET Location

GET '/api/v1/results'

  • Routes to results#index
  • Example Json Result: GET HM Index
  • Example Json Result From Library of Congress: GET LoC Index

GET '/api/v1/results/:id'

  • Routes to results#show
  • Example Json Result: GET HM Item
  • Example Json Result From Library of Congress: GET LoC Item

(back to top)

Repo and Heroku Sites


Backend

Frontend


Backend Schema


Schema

Tables

- Users
    has_many: favorites

- Favorites
    belongs_to: user

(back to top)

Contributors


Zac Hazelwood
GitHub: @ZacHazelwood
Zac

Oscar Santos
GitHub: @Oscar-Santos
Oscar

Luke Pascale
GitHub: @enalihai
Luke

Clay Ash
GitHub: @ClayAsh
Clay

Matthew Deming
GitHub: @Deming-Matt
Matt

Colin Reinhart
GitHub: @ColinReinhart
Colin


(back to top)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  
0