Skip to content

chloell5/rails-engine

Repository files navigation

Contributors Forks Stargazers Issues LinkedIn

Rails Engine

Building an API in rails
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Contact
  3. Acknowledgments

About The Project

This is a solo project for the Turing School of Software and Design. In it, we learned how to create our own API and connect to endpoints, as well as testing with RSpec and Postman.

After cloning the repo:

  1. bundle install
  2. Run rails db:{create,migrate}
  3. Run rails s
  4. API endpoints are:
GET     /api/vi/items
POST    /api/vi/items
GET     /api/vi/items/find
GET     /api/vi/items/:id
PATCH   /api/vi/items/:id
DELETE  /api/vi/items/:id
GET     /api/v1/items/:item_id/merchant(.:format)

GET     /api/v1/merchants
GET     /api/v1/merchants/:id
GET     /api/v1/merchants/:id/items

(back to top)

Built With

  • Ruby
  • Rails
  • PostgreSQL
  • RSpec
  • Postman

(back to top)

Contact

Chloe Price - @chloell5 - [email protected]

Project Link: https://github.com/chloell5/rails-engine

(back to top)

Acknowledgments

  • Thank you Turing, and your wonderful instructors!

(back to top)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published