This project is live at codesnerd.github.io/redux-cart.
A cart whose state is managed using Redux.
To run the project on your local machine, you must have Node.js and npm installed on your machine.
You can install these via Node installer or Node version manager.
You can use a Node installer to install both Node.js and npm on your system.
Windows or OS X installer:
- Node.js installer
- Be sure to only install the LTS version.
Linux installer:
- NodeSource installer
- Or see this page to install npm for Linux in the way many Linux developers prefer.
Node version managers allow you to install and switch between multiple versions of Node.js and npm on your system so you can test your applications on multiple versions of npm to ensure they work for users on different versions.
Windows Node version managers:
OS X or Linux Node version managers:
- Follow the official npm Docs guide in case you require detailed guidance or are facing any difficulties.
- If you wish to know more about npm, read this awesome article by Tanya Gray.
Now you're ready to run this project on your local machine. To do so, follow these steps:
- Clone this repo by running the following command in the command line (or choose Download ZIP option)
git clone https://github.com/codesnerd/redux-cart.git
- Move into the project directory by typing
cd redux-cart/
- Download node modules using
npm install
- Once node modules are installed, type
npm start
and the project will be available on localhost:3000
in your default browser.
Follow my GitHub profile to stay updated with my latest projects: