Rails API

83f7b66c4dee7effbb3717027f99282b?s=47 Sayanee
April 30, 2014

Rails API

Basics of creating an API=only server with Rails with AngularJS in the frontend. Code: https://github.com/sayanee/Talks/tree/master/013-rails-api

83f7b66c4dee7effbb3717027f99282b?s=128

Sayanee

April 30, 2014
Tweet

Transcript

  1. 9.
  2. 11.

    version /config/routes.rb $ rails g model Meetup name:string event:datetime $

    rake db:migrate $ rails c > Meetup.create(name: 'April meetup', event: Time.now)
  3. 17.
  4. 22.
  5. 34.