Skip to content
This repository has been archived by the owner on Jan 8, 2019. It is now read-only.

andyet/fluentconf-native-web-apps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 

Repository files navigation

FluentConf Native Web Apps Workshop

Copy of the app we're buildling: http://hubtags.com github repo for that app: https://github.com/henrikjoreteg/hubtags.com

Catching up as we go

Going to be pushing code here as we go: http://github.com/henrikjoreteg/labelr

If you want to check your code or catch up, you can always grab latest from there.

Feedback form

We <3 feedback, good or bad (you'll have some time to do this at the end):

http://j.mp/fluent-feedback

Snippets

Please try the copypasta it's delicious.

Relevant links:

What you'll need before we start

  1. Node.js and npm installed (Download and run the installer from http://nodejs.org/)
    • You should be able to run npm and node in a terminal and not see an error
  2. A free account on Github.com
  3. A text editor of your choice (I'll be using (Sublime Text)[http://www.sublimetext.com/]).

Goals?

  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

Resources / Reading

Rough Outline

9:00 Start

  • Short intro talk
  • Project setup
  • Deploy index page with surge
  • Setup hjs-webpack
  • Deploy built app.js file with surge
  • Render basic "hello" content with React
  • Intro to React.js

** frameworks talk/discussion **

  • 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

10:30 - 11:00 morning break

  • Install and use the router
    • public and 'repos' routes
    • start with console.log routes
    • React.render inside method
    • re-deploy
  • Introduce ampersand-app pattern
    • demo event signaling via app
  • Add layout.js
  • Local links/Internal Nav Component

12:30 - 1:45 Lunch Break

  • Authing with GitHub
  • Persisting token, modeling 'me'
  • fetching me from github
  • Binding username

3:15 - 3:45 Afternoon Break

  • Rendering list of Repos
  • Repo Detail Page
  • Rendering The Labels
  • Creating a Label component
  • Adding Octicons

Day 2

9:00 Start

  • Editing Mode for Labels
  • Deleting Labels
  • Updating Labels
  • Creating New Labels

10:30 - 11:00 morning break

  • Cleanup, Optimization, Bug Fixes
  • Configs and Deploys
  • Adding A 404 Page

12:30 - 1:45 Lunch Break

  • Static Isomorphic Rendering
  • Using Standard for Code Style
  • Bugfixes and Cleanup

3:15 - 3:45 Afternoon Break

  • Open hacking
    • 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?

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •