Giter Site home page Giter Site logo

rossfit's Introduction

RossFit API

It’s my design of a RESTful API usign Ruby on Rails. It’s the server side part of one personal project of making an app for mobile devices (Android, iOS).

Routes

The endpoints are the following ones:

       Prefix Verb  URI Pattern                    Controller#Action
     measures POST   /measures(.:format)            measures#create
  new_measure GET    /measures/new(.:format)        measures#new
 edit_measure GET    /measures/:id/edit(.:format)   measures#edit
      measure GET    /measures/:id(.:format)        measures#show
              PATCH  /measures/:id(.:format)        measures#update
              PUT    /measures/:id(.:format)        measures#update
              DELETE /measures/:id(.:format)        measures#destroy
        diets POST   /diets(.:format)               diets#create
     new_diet GET    /diets/new(.:format)           diets#new
    edit_diet GET    /diets/:id/edit(.:format)      diets#edit
         diet GET    /diets/:id(.:format)           diets#show
              PATCH  /diets/:id(.:format)           diets#update
              PUT    /diets/:id(.:format)           diets#update
              DELETE /diets/:id(.:format)           diets#destroy
   item_meals POST   /item_meals(.:format)          item_meals#create
new_item_meal GET    /item_meals/new(.:format)      item_meals#new
edit_item_meal GET    /item_meals/:id/edit(.:format) item_meals#edit
    item_meal GET    /item_meals/:id(.:format)      item_meals#show
              PATCH  /item_meals/:id(.:format)      item_meals#update
              PUT    /item_meals/:id(.:format)      item_meals#update
              DELETE /item_meals/:id(.:format)      item_meals#destroy
        meals POST   /meals(.:format)               meals#create
     new_meal GET    /meals/new(.:format)           meals#new
    edit_meal GET    /meals/:id/edit(.:format)      meals#edit
         meal GET    /meals/:id(.:format)           meals#show
              PATCH  /meals/:id(.:format)           meals#update
              PUT    /meals/:id(.:format)           meals#update
              DELETE /meals/:id(.:format)           meals#destroy
        items GET    /items(.:format)               items#index
              POST   /items(.:format)               items#create
     new_item GET    /items/new(.:format)           items#new
    edit_item GET    /items/:id/edit(.:format)      items#edit
         item GET    /items/:id(.:format)           items#show
              PATCH  /items/:id(.:format)           items#update
              PUT    /items/:id(.:format)           items#update
              DELETE /items/:id(.:format)           items#destroy
        users POST   /users(.:format)               users#create
        login GET    /login(.:format)               login#login

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.