Giter VIP home page Giter VIP logo

wdi_radio_lab's Introduction

๐Ÿ”ฅ WDI Radio ๐Ÿ”ฅ

View deployed solution here

Please fork this repo. By 5:00pm Thursday, March 9th, submit your work as a pull request.

User Stories

  • As a user, when I go to the app's root url, we should see a welcome page.
  • As a user, when I visit "/songs", I should be able to see all of the songs in my database.
  • Bonus: As a user, when we click on a song it starts playing. The world is a better place

Setup

What follows are not explicit steps. Just guidelines to approach building out this Angular application.

Angular Setup

  • Create a main directory for your wdi_radio application.
  • Create an index.html in your application's main directory.
  • Make sure to load in any appropriate libraries via CDNs
  • Create a skeleton for your content and include all dependencies.
  • Create the main app.js file and create the module for this angular app.
  • Create a module that defines songs.

Firebase Setup

  • Create a new project in the Firebase console
  • When prompted, make sure to choose the right most option: "Add Firebase to your web app".
  • After selecting the option, you should see a notification with a code snippet that contains your application's configuration credentials.
  • Make sure to include that snippet in your app's main index.html before any of your js files

Initialize a Router

  • Configure your app's routing in the app.js.
  • Add a state for the routes / and /songs.
  • Create templates for these routes.

Define a Controller

  • Create a controller file and define a controller to handle songs.
  • Access the data from firebase and save it as a property on the controller

Build Views

  • Use data attached to your view model to display a list of all songs

Bonus I: Full CRUD Songs

  • Implement full CRUD for Songs

Bonus II: Deploy to Firebase

Bonus III: Custom Player Directive

Implement a "player" using an Angular custom directive

  • When you click a song, a player view renders somewhere in the index
  • Get the song to play
  • Some options for the song player...

If you finish this bonus, look into how you could integrate Spotify's API into your WDI Radio app.

wdi_radio_lab's People

Contributors

nolds9 avatar andrewsunglaekim avatar amaseda avatar pootsmagoots avatar robertakarobin avatar avalant avatar jshawl avatar mattscilipoti avatar

Watchers

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