You have just been hired as the JavaScript developer for Feedr, the site making the ultimate aggregated news feed.
The team has provided you with front-end mock-up that isn't functional, but has all of the styles and markup you will need.
They have also handed over a back-end API that are you are to integrate into the application.
Your final product will be a living, breathing Single Page Application!
- Try to turn the static HTML into a templated View.
- Try to create a Model with mock data to hand to your View.
- Finally, create event listeners and make ajax calls to tie into the AJAX API.
Once we have the basic application working, we'll add OAuth authentication using Facebook as a OAuth provider. To do this we'll need to:
- Register a Facebook application
- Add the Facebook script tag to the HTML page
- Add the Facebook login function
- Add an event listener function for the Facebook login that sends the retrieved access code to the login-facebookendpoint.
- Fork this repository on GitHub
- Clone it onto your computer
- cdinto the repo directory- feedr
- npm installto install the server's dependencies
- node feedr-server.js
- Visit http://localhost:3010 in the browser
- Add your code to app.jsandindex.htmlin order to complete the SPA
- Add and commit your changes
- Push your changes back to GitHub
- Submit a Pull Request to the upstream repo
