https://github.com/nehakadam/rails_market_place_api
This repository contains the Market Place API as demonstrated in the book APIs on Rails - Building REST APIs with Rails by Abraham Kuri Vargas ( @kurenn )
https://github.com/nehakadam/rails_market_place_api
rest-api ruby-on-rails
Last synced: about 2 months ago
JSON representation
This repository contains the Market Place API as demonstrated in the book APIs on Rails - Building REST APIs with Rails by Abraham Kuri Vargas ( @kurenn )
- Host: GitHub
- URL: https://github.com/nehakadam/rails_market_place_api
- Owner: nehakadam
- Created: 2018-03-03T06:29:40.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-22T06:06:23.000Z (over 8 years ago)
- Last Synced: 2025-03-25T18:45:15.480Z (about 1 year ago)
- Topics: rest-api, ruby-on-rails
- Language: Ruby
- Size: 121 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# README
This README would normally document whatever steps are necessary to get the
application up and running.
Things you may want to cover:
* Ruby version
* System dependencies
* Configuration
* Database creation
* Database initialization
* How to run the test suite
* Services (job queues, cache servers, search engines, etc.)
* Deployment instructions
* ...
Test Commands
`curl -H 'Accept: application/vnd.marketplaceapi.v1' http://api.marketplaceapi.test/users/1`
`bundle exec rspec spec/controllers/api/v1/users_controller_spec.rb`
`bundle exec rspec lib/spec/api_constraints_spec.rb`
bundle exec rspec spec/models/user_spec.rb
`bundle exec rspec spec/controllers/api/v1/sessions_controller_spec.rb`
`bundle exec rspec spec/controllers/concerns/authenticable_spec.rb`
`bundle exec rspec spec/models/product_spec.rb`
`bundle exec rspec spec/`
`bundle exec rspec spec/controllers/api/v1/products_controller_spec.rb`
Test User
Email : example@marketplace.com
Password : 12345678
Auth Token : sLfTud3L6zyyGwjCJ7Pq
bundle exec rspec spec/mailers/order_mailer_spec.rb
bundle exec rspec spec/controllers/api/v1/orders_controller_spec.rb
bundle exec rspec spec/models/order_spec.rb
Git Commands
git checkout -b
git add -A
git commit -m
git push --set-upstream origin
git checkout master
git merge
git push