(fictional) Merchandising Store We would like to expand its business to include a merchandise store for our professionals. It will be comprised of 3 items: Mug, Shirt, and Hoddle.
[POST] localhost/api/v1/products
[GET] localhost/api/v1/products
[GET] localhost/api/v1/products/:id
[PATCH] localhost/api/v1/products/:id
[POST] localhost/api/v1/product_shopping_carts
- Clone the project to your local directory
git clone https://github.com/bellom/Store-APIs
-
Run
bundle install
(if error, adjust the ruby version to match yours) -
Run
rails db:create
-
Run
Rails db:migrate
-
Run
Rails db:seed
-
Run
rails s
You can contact me at: