Giter VIP home page Giter VIP logo

broadway's Introduction

<<<<<<< HEAD #Broadway.ly

Prompt

  • You made it to the end of week 3. ^5!
  • For our comprehensive lab this week, you will be building a two model Sinatra app and deploying it to Heroku.

Going with our Broadway theme, our two models are going to be Shows and Songs. A show has many songs, and a song belongs to a show.

A show has:

  • title
  • year
  • composer
  • img_url

A song has:

  • title
  • embed_url

NOTE: Check out how to embed a youtube video

Here's what the url looks like: youtube_url

Here's here you find the video_id: video_id

FIRST - Copy the starter code into your folder for today a new folder in your dev directory.

Part 1 - Database-ize

  • Start by setting up your database schema and creating your database. Test it to make sure it works!

Part 2 - ActiveRecord-ize

  • Set up your models using ActiveRecord. Test them to make sure they work and they are associated correctly.

  • Add ActiveRecord Validations to make sure that all of the titles for the shows are both present and unique.

  • Create AT LEAST 3 shows with 3 songs each so you have a good amount of data to start with.

Part 3 - Sinatra-ize

  • Build out your Sinatra app one route at a time. Make sure to test it before moving on to the next route. We've provided stubs for the routes that you will need for your app.

Part 4 - Pretty-ize

  • Style your app to make it look nice. These are going on the internet so represent yourself well!

Part 5 - Internet-ize

  • Deploy your app to Heroku and share it with your friends & classmates!

Part 6 - Submission

  • Put your app on GitHub
  • In your work folder (.../WDI_NYC_Array_Work/w03/d05/Yourname) add a file named "Broadwayly.md" that includes the URL for:
    • Your app on Heroku
    • Your GitHub repo
    • push it to origin and send Peter a pull request
  • Pour yourself a nice Scotch, relax

Bonus

  • Implement a "Search" feature where users can enter a show title into a form and they are displayed the "show page" for that show if it exists. ======= broadway ========

Broadway App

56ab779fdf7a0a984fe0e16366716742d189d47f

broadway's People

Contributors

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