gerrgg / odin-kittens

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Odin-kittens

This is a fast and straightforward project where you’ll set up a Rails app to be a data-producing API… which is just a fancy way of saying that all your controller methods will render data instead of HTML. Consider this a drill in quickly building a pure vanilla RESTful resource. We won’t be working with an external API until the second project.

Here we are making a simple application which replys to both HTML and XML calls. The kittens are fake.

https://www.theodinproject.com/courses/ruby-on-rails/lessons/apis#project-1-building-a-simple-kittens-api

Do the basics

  • Bootstrap
  • Title helper
  • nav

Model kittens

  • rails g model Kitten

  • setup routes

  • index

  • new/create

  • edit/update

  • delete

  • will_paginate not working

About


Languages

Language:Ruby 77.2%Language:HTML 18.7%Language:JavaScript 2.7%Language:CSS 0.9%Language:CoffeeScript 0.5%