Code Monkey home page Code Monkey logo

filive's Introduction

FI Live Workshop App

This repo is for the workshop on "Building a Modular Front-end Application" workshop at Future Insights Live, 2015.

Related docs

Goals of the workshop

  1. Giving you tools, knowledge and confidence to build and deploy an application from scratch.
  2. Familiarizing you with basics of:
    • ES6+
    • Node.js/npm
    • Ampersand.js
    • React
    • Webpack
    • Isomorphic Rendering
    • Providing user logins using an OAuth API
    • Consuming an external JSON API
  3. Putting your app on the Internet

Rough Outline

9:00 Start

  • Short intro talk

  • Project setup

  • Render basic "hello" content with React

  • Intro to React.js

  • Adding styles

    • show yeticss.com
    • create styles folder in src
    • import yeticss.com
    • show what happens when you build now
    • show live reloading in action
  • Convert ES5 React module to ES6

    • compare them side-by-side

frameworks talk/discussion

  • Install and use the router

    • public and 'repos' routes
    • start with console.log routes
    • React.render inside method
  • Introduce ampersand-app pattern

    • demo event signaling via app
  • Add layout.js

  • Local links/Internal Nav Component

  • Authing with GitHub

  • Persisting token, modeling 'me'

  • fetching me from github

  • Binding username

Lunch Break somewhere in here

  • Rendering list of Repos

  • Repo Detail Page

  • Rendering The Labels

  • Creating a Label component

  • Adding Octicons

  • Editing Mode for Labels

  • Deleting Labels

  • Updating Labels

  • Creating New Labels

  • Cleanup, Optimization, Bug Fixes

  • Configs and Deploys

  • Adding A 404 Page

  • Static Isomorphic Rendering

  • Using Standard for Code Style

Taking it further

Hard to say how much we'll get through in the class, but following along is one thing, but tackling something on your own is quite another.

I'd encourage you to keep hacking on this and finish whatever features we didn't build.

A more "complete" version of this app is available here for reference: https://github.com/henrikjoreteg/hubtags.com

In addition, you may want to try adding the following:

  • Add a link to real repo
  • Add validation to form
  • Add user avatar
  • Switch it over to login with firebase
  • Write module that fetches "all" repos (using github paging API)
  • Add color picker?

Further study

Want this content in video form for you or someone you know? It's available online here: http://learn.humanjavascript.com/react-ampersand

The code workshopper will take $20 off. Feel free to share it with co-workers or friends.

Feedback

Please take a minute to give Henrik some feedback on the workshop here: http://bit.ly/filive-feedback

If you liked it maybe even tweet about it :) I'm @HenrikJoreteg on twitter.

<3

filive's People

Contributors

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