This repo contains an E-Commerce store. Designed for desktop and mobile, the app serves as place for customers to come and buy succulents/cactus. Users can add to their cart as well as update their cart quantities or delete certain cart items.
- Fork this repo
- Clone your forked copy of this repo
git clone https://github.com/[Your Username]/succulent_store.git
- Change directory into the newly cloned repo
cd succulent_store
- Install dependencies
npm install
- Use MAMP or similar program to start Apache and MySQL servers
- Set root directory of server to the
public
folder of this project - Set Apache port to
3000
- Use phpMyAdmin (or similar) to create a database
- Set root directory of server to the
- Start dev server
npm start
- Open a browser and navigate to
localhost:3000
- Run webpack to bundle files
npm run bundle
NOTE: After bundling and placing on a web server. The public
folder should be the web root