https://github.com/muhammadawaisshaikh/rails-mango-app-api
mango ordering app api only with rails5
https://github.com/muhammadawaisshaikh/rails-mango-app-api
rails rails5 ruby ruby-on-rails
Last synced: 3 months ago
JSON representation
mango ordering app api only with rails5
- Host: GitHub
- URL: https://github.com/muhammadawaisshaikh/rails-mango-app-api
- Owner: muhammadawaisshaikh
- Created: 2019-04-17T13:41:59.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-18T10:41:55.000Z (about 7 years ago)
- Last Synced: 2025-08-02T10:35:00.629Z (11 months ago)
- Topics: rails, rails5, ruby, ruby-on-rails
- Language: Ruby
- Size: 55.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# rails-mango-app-api
mango ordering app api only with rails5
# Refrence
https://medium.com/otavio-henrique/creating-simple-rest-api-with-rails-5-1ba71b37cad
# All categories
GET:
http://api.localhost:3000/v1/categories
# Post Category
POST:
http://localhost:3000/v1/categories
Body:
{
"category": {
"name": "Anwar Atol Mango",
"description": "Mango Anwar"
}
}
# Show detail Category
GET:
http://localhost:3000/v1/categories/2
# UPDATE category
PUT:
http://localhost:3000/v1/categories/2
Body:
{
"description": "Anwar Mango"
}
# DELETE category
DELETE:
http://localhost:3000/v1/categories/2