Code Monkey home page Code Monkey logo

hush's Introduction

Hush

Hush is a little demo app built in ~2h from the ground up for a React Meetup live demo session. It's meant to provide some introduction to:

  • React and Typescript
  • Generators
  • CSS-in-JS with emption
  • Render props
  • requestAnimationFrame
  • Deploying with now and netlify

It's a breathing app heavily inspired by Oak.

Install and run

To install, just clone the repo and run:

yarn

To run it, simply:

yarn start

To build the app:

yarn build

Deploy the app

With now, log into through the CLI and then:

yarn deploy

With netlify, clone the repo and then work your magic in the netlify dashboard.

Steps

You can checkout a specific step at any point in time by doing:

git checkout step-1-init

All steps are tagged and named appropriately:

Step 1 (step-1-init)

  • Setup the project with the correct configs
  • Add the basic UI components that we will use

Step 2 (step-2-types)

  • Add typings

Step 3 (step-3-home)

  • Add Global css
  • Create and style the Home component and then add it to the Router

Step 4 (step-4-home-with-exercises)

  • Add exercises to the Home component and style them

Step 5 (step-5-exercise-routes)

  • Create Exercise component with typings and basic styles
  • Create a route for each exercise

Step 6 (step-6-timer)

  • Create the Timer component in Exercise

Step 7 (step-7-timer-with-generator)

  • Create repeatGenerator
  • Integrate the repeatGenerator into the Timer component

Step 8 (step-8-progress)

  • Create Progress component in Exercise

Step 9 (step-9-deploy)

  • Setup the deploy config files for both netlify and now

Step 10 (step-10-use-hooks)

  • Switch to react-16.7.0-alpha.2
  • Implement custom hooks (Yay!)

hush's People

Contributors

dependabot[bot] avatar tricinel avatar

Watchers

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