Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Rails API

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

Sayanee

April 30, 2014
Tweet

More Decks by Sayanee

Other Decks in Technology

Transcript

  1. 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)