Giter VIP home page Giter VIP logo

first-rails-project-web-0217's Introduction

Rails Pairing Project

Overview

For this project you will be working in pairs to build your very first Rails project. No tests will be involved so you will be able to be creative with your ideas so long as you meet the requirements below. Get your ideas approved by an instructor before you start coding.

Requirements

Database

Make sure that you are using Postgresql for this project. The easiest way to do this is to add it when you create your rails project by doing so: rails new app_name -d postgresql

Models & Relationships

Your project must have at least three models that are all associated. You must have a has_many - belongs_to relationship, and a has_many, through relationship. For example: An Artist has many Songs, and a Song belongs to an Artist. An Artist has many Genres, through Songs.

CRUD/Routing

Your application should follow RESTful conventions, in that, your models should be able to be Created, Updated, Read, and Deleted. New objects should be posted to the create actions, and updating objects should be put to the update action, etc.

Forms

Your project should include a nested form for your has_many, belongs_to relationship. For example: If I am creating a Song in a form, I should be able to select from a list of Genres that exist already, or create a new one at the same time.

Authentication

Your project should have a form for a user to log in. They should not be able to see anything but the login form until they are logged in. They should also be able to log out. Bonus points for having an option to create a new user in the form.

Recap

1 . Postgresql
2 . Three models
3 . Has Many - Belongs To relationship
4 . Has Many, Through relationship
5 . CRUD actions for your models
6 . Nested form for your Has_many, belongs to relationship.

actorQuest

first-rails-project-web-0217's People

Watchers

 avatar  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.