Giter Site home page Giter Site logo

evgenyantipin / rails_tutorial_api Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vasilakisfil/rails_tutorial_api

0.0 2.0 0.0 2.33 MB

Learn how to build an API on Michael Hartl's Rails tutorial (Rails 4.2 version)

Ruby 58.91% CoffeeScript 0.84% JavaScript 2.90% CSS 3.33% HTML 34.01%

rails_tutorial_api's Introduction

Ruby on Rails Tutorial with API: sample application

circleci build

This repo is deprecated and not actively maintained. A new Rails tutorial has been released based on Rails 5. The equivelant EmberJS app can be found here.

This is the sample application for the Ruby on Rails Tutorial: Learn Web Development with Rails by Michael Hartl but with an API for the Ember version.

It's deployed here. Ember version is deployed here and there is a blog post about it

You can use this reference implementation to help track down errors if you end up having trouble with code in the tutorial. In particular, as a first debugging check I suggest getting the test suite to pass on your local machine:

$ cd /tmp
$ git clone https://github.com/mhartl/sample_app_3rd_edition.git
$ cd sample_app_3rd_edition
$ bundle install
$ bundle exec rake db:migrate
$ bundle exec rake test

The repository also has chapter-specific branches with the state of the code at the end of each chapter. You can view them as follows:

$ git branch --all
  .
  .
  .
  remotes/origin/account-activation-password-reset
  remotes/origin/filling-in-layout
  remotes/origin/following-users
  remotes/origin/log-in-log-out
  remotes/origin/master
  remotes/origin/modeling-users
  remotes/origin/sign-up
  remotes/origin/static-pages
  remotes/origin/updating-users
  remotes/origin/user-microposts

To check out one of these chapter-specific branches, just use git checkout followed by the name without remotes/origin:

$ git checkout log-in-log-out

This should help you track down any discrepancies between your code and the code in the tutorial.

rails_tutorial_api's People

Contributors

vasilakisfil avatar mhartl avatar

Watchers

James Cloos avatar Evgeny Antipin avatar

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.