GithubHelp home page GithubHelp logo

books-on-rails's Introduction

Books on Rails: A Review

Imagine you've just landed your first job as a Rails developer and you're handed a list of user stories that you're supposed to implement.

  • As a user, I should have a database full of authors and books.
  • As a user, I should be able to view a list of all the authors and books.
  • As a user, I should be able to click on each author or book and see a page with more information about the book or author.
  • As a user, I should be able to edit each book.
  • As a user, I should be able to update each book.
  • As a user, I should be able to delete a book.

Yikes. Sounds like a lot of work. But don't worry -- we'll tackle it together.

In a future lesson, we can cover how to associate a new author with a book, but we'll punt on that for now. You can imagine we'd also need to be able to edit an author and add genres to each book.

Domain

Books have many authors. Authors have many books.

For later: Books belong to a genre. Genres have many books.

Getting Started

  1. Clone down the master branch, which contains starter code. *If you get stuck at any point, you can check out a different branch (phase-2, phase-3, phase-4). *We'll be building up to the final branch.

  2. bundle install

  3. rake db:migrate

  4. Write the code.

books-on-rails's People

Contributors

talum avatar

Watchers

 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.