This is a hands-on project from the Udemy course - The Complete React Developer Course (w/ Hooks and Redux) by Andrew Mead.
You can see a complete working example here. Or you can run the demo on your local machine, please follow the instructions in Getting Started.
- It is just a simple React toy prject.
- Store data with browser's localStorage.
- Use Webpack to bundle JavaScript files.
- Refactor the folder structure.
- Update to using Webpack 4 instead Webpack 3
Check package.json
file for more information.
Follow the instructions below to set up the environment and run this project on your local machine.
- Clone this repository.
# Clone repository
$ git clone https://github.com/Hsins/udemy_Indecision-App.git
- Install dependencies via NPM or Yarn
# Install dependencies via npm
$ npm install
# Install dependencies via yarn
$ yarn install
- Run the server.
# Build with webpack
$ npm run build
# Run server
$ npm run server
Since that GitHub Pages can only publish site's source files from master
, gh-pages
branch, or a /docs
folder on master branch. I use git subtree push
command to push the file in public
file to gh-pages
:
$ git subtree push --prefix public origin gh-pages
All the notes I took in Markdown (.md) format. You can find them in my Udemy-Notes repository. The note for this course is here.
Licensed under the MIT License, Copyright © 2017-present Hsins.