Coder Social home page Coder Social logo

set-list-7's Introduction

Set List Tutorial

This repository serves as an in-class project for Turing's Mod 2 BE program. Through working on this tutorial, students will gain an understanding of and practice the following topics (among others):

  • Model testing
  • Migrations
  • Feature testing
  • MVC
  • ActiveRecord & SQL
  • Forms

Setup

Clone (you don't need to fork) this repo to your local. Then, run the following commands in Terminal:

bundle install
rails db:{drop,create,migrate,seed}

You should then be able to access the databases called set_list_development and set_list_test.

How to Use

This application starts with schema and corresponding tests for Artists and Songs. Throughout classes in mod 2, students will be asked to work on adding various features to this application. It is recommended that students use the main branch of this repo, and add to it on their own machines. There is no need to submit any pull requests to the original repo, as this is a practice application.

Students can also check out the branches in this repo to visit the code at different points in time. The following table lists the classes in mod 2, the branch for where the class starts, and the branch with the completed code from the class.

Warning

Note: we don't recommend forking this repo, as there are many branches that you'll lose access to if you fork. Since this is a tutorial, you can reference the many branches in this repo for the class you're currently working on. Forking will not bring these branches with your forked copy.

Also, this tutorial is most useful going class-by-class, not necessarily done in addition to any intermission work. If you have context/prior knowleddge for the topics explored in this repository, you can use it to practice those topics. Generally, we advise students to wait until the topic comes up in a project or class to explore the branches of this repo.

Branch Directory

Class Starting Branch Completed Branch
Songs Index video none songs_index
Songs Show video songs-index songs-show
ActiveRecord Associations (homework video) songs-show artist-songs-index
Feature Testing feature-testing-practice feature-testing-complete
ActiveRecord Associations (live class) associations-practice associations-practice-solutions
SQL and ActiveRecord sql-ar-setup
Forms (homework video) artist-songs-index artist-new
Class vs Instance Methods class-vs-instance-setup class-vs-instance-solutions
Many to Many many-to-many-setup many-to-many-complete
Joins - Homework joins-homework joins-homework-solutions
Joins many-to-many-complete
Data Validations generic-start
Sad Path Testing & Flash Messages sad-path-testing sad-path-complete
Partials generic-start partials-solutions
Advanced Routing advanced-routing advanced-routing-solutions
Grouping & Aggregating advanced-routing (no completed branch)
Binding Models to Forms advanced-routing-complete form-with-complete

Note: This table is always being updated. Please submit a pull request if something needs changed!

set-list-7's People

Contributors

mikedao avatar cjsim89 avatar juliet-e avatar abdulredd 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.