/shop-shop

A MERN stack application e-commerce site that also uses Stripe payments

Primary LanguageJavaScript

Shop Shop - MERN Stack

Application Screenshot

App Deployment

https://shop-shop-app.herokuapp.com/

Instructions

cd
mkdir MongoData
cd MongoData
mongod --dbpath=/Users/Priya/MongoData

Deplyment Instructions

Heroku
1. heroku create app_name
2. git remote -v
3. git push heroku master

MongoDB
1. Create a new database in MongoDB Atlas Account
2. Create a user for the database
3. Copy the connection string that MongoDB Atlas gives you, go to your application's Settings tab through the Heroku dashboard, and paste the connection string as an environment variable under the name (or key) of MONGODB_URI

Example: 

mongodb+srv://shopshopuser:P@ssword123@cluster0.twmms.mongodb.net/shop_shop_db?retryWrites=true&w=majority

User Story

AS a senior engineer working on an e-commerce platform
I WANT my platform to use Redux to manage global state instead of the Context API
SO THAT my website's state management is taken out of the React ecosystem

Acceptance Criteria

GIVEN an e-commerce platform that uses Redux to manage global state
WHEN I review the app’s store
THEN I find that the app uses a Redux store instead of the Context API
WHEN I review the way the React front end accesses the store
THEN I find that the app uses a Redux provider
WHEN I review the way the app determines changes to its global state
THEN I find that the app passes reducers to a Redux store instead of using the Context API
WHEN I review the way the app extracts state data from the store
THEN I find that the app uses Redux instead of the Context API
WHEN I review the way the app dispatches actions
THEN I find that the app uses Redux instead of the Context API

Instructions

cd MongoData/ from root directory
mongod --dbpath=/Users/Priya/MongoData

npm run start