sdkclements / checkpoint-05

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Checkpoint 05: Rails

Fork and clone this repo.

Part 1 (Initial Setup)

  1. Run the command to generate a new Rails application called todo_app.
  2. Create your database.
  3. Define a Todo model and create a corresponding migration. It should have two attributes: content (string) and is_completed (boolean).
  4. Generate your schema.
  5. Create two Todo instances in your seed file. Run your seed file.
  6. Run your Rails server to see your application in the browser.

Part 2 (Error Driven Development)

  1. Set up routes for index, show and new.
  2. Implement controller actions and views for the index, show and new features.

Bonus

Implement create, destroy, edit and update features

About


Languages

Language:Ruby 76.8%Language:HTML 16.6%Language:JavaScript 3.4%Language:CSS 2.6%Language:CoffeeScript 0.6%