Giter Site home page Giter Site logo

tasklist's Introduction

Task List

Let's build a Task List in Rails! We will solve the problem of tracking tasks in a web application. This project will enable us to keep track of and persist, add, edit and remove tasks. This is an individual Stage 1 project.

Learning Goals

Practice all aspects of Rails development.

  • Create a new Rails application
  • Explore each aspect of the Rails Request Cycle: Model, View, Controller
  • Implement RESTful routes using Rails standards
  • Complete all CRUD actions in a Rails application

Project Due Monday Sept 24th

Baseline

In this baseline, you'll create a new Rails application and get started with two of the major components: route, controller and view.

  • Fork and clone this repository to your computer
  • Create a new Rails application using rails new .
    • create a Tasks controller
    • create a route to view the task index page
    • create a controller action for the task index page which contains an array of hard-coded tasks
    • create an ERB view to display the tasks from the controller action

Wave 1

This wave is where we introduce ActiveRecord to create a model. We use the model to persist our data.

  1. create a migration which will create a new Task model
    • create the database schema and tables by running the rails db:migrate command
    • the Task model should include at least a name, a description and a completion date
    • create at least 2 Task model instances using the rails console
  2. update the controller's index action you created to retrieve and show all Task objects from the database
    • you may need to update the view as well to use the model fields rather than the hard-coded data

Optional Design

The focus of this project is to familiarize yourself with rails. Design of this application is optional and secondary to learning goals this project. If you do find you have time to style the design of your application, you can use or own design or the wireframes below.

Homepage Wireframe

What we are looking for

Your instructor feedback template can be found here

tasklist's People

Contributors

mystioreo avatar kariabancroft avatar cheezitman avatar hamled avatar jnf avatar

Watchers

James Cloos 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.