ReactKart is a simple game made to improve my React & Redux skills. Choose your kart wisely based on how lucky they are, place a bet and try to increase your Coin Balance!
First install node.js. Then:
npm install
npm run start
then open http://localhost:3000/ in your browser
(mostly to allow hot-reloading of React components)
npm run start:dev
npm run build
Of note in this repo are:
React
for the view layer.Redux
to handle our state (organised usingDucks: Redux Reducer Bundles
. Parts of Redux state tree are saved to local storage.Immutable.js
data structures.React Router
for routing.CSS Modules
for local CSS styling.Webpack
to bundle our client-side code.- Hot reloading using
webpack-dev-middleware
andwebpack-hot-middleware
. Express
for handling server requests (REST and page requests).Mocha
andChai
for unit tests.
I learned a lot building this small project because the end result turned out to be fun! Pull requests and comments / issue reports / questions are most welcome. Enjoy and hope the source code helps you!