Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 1.23 KB

README.md

File metadata and controls

32 lines (25 loc) · 1.23 KB

React Vote workshop

This Workshop will hopefully teach you the fundamentals of using React. The goal today is to fill the gaps of this boilerplate. It's a simple voting app with a remote API. The only thing we ask of you is to have fun and try to stick to functional programming as much as you can.

Get started

Install dependencies:

npm i

Run the project:

npm start

Proceeding with your solution

  • Look at the result here

  • Search for TODO: in the app to get some hint on how to proceed

  • Basically you need to fetch the data from the todo api add them to the redux store and display the results using react victory

You are stuck?

Have a look at the solution branch of the repository

The API

Access http://api.alexrieux.fr for the documentation, although the comments should provide you enough hints.

It is too easy...

  • Voting workshop using redux-observable and websocket: here
  • Meh I know Observable... well you can give it a try with Elm: here