Demo E-Commerce Clothing Store with React, Redux(incl. Redux-Saga), Firebase, Stripe and Tailwind CSS
A simple demo e-commerce store where users can add or remove products from shopping cart and buy products with their cards. Even if users leave the site, the products in their shopping cart will remain when they return.
- Account creation with email or sign in with existing Google account
- Add or remove products from shopping cart
- Persist products inside of shopping cart even when refresh the page
- Payment with Stripe
You can use test account information to try my demo
Email: test@test.com
Password: 12345678
Clone the project
git clone https://github.com/aniltulebag/react-clothing-store.gitGo to the project directory
cd react-clothing-storeInstall dependencies
npm installStart the server
npm run startTo run this project, you will need to add the following environment variables to your .env file
REACT_APP_API_KEY
REACT_APP_AUTH_DOMAIN
REACT_APP_PROJECT_ID
REACT_APP_STORAGE_BUCKET
REACT_APP_MESSAGING_SENDER_ID
REACT_APP_APP_ID
Setup a new Firebase project and update environment variables with your new Firebase web app config information.
REACT_APP_STRIPE_PUBLISHABLE_KEY
STRIPE_SECRET_KEY
Sign up for a Stripe account if you haven't already, login and navigate to the Developers > API Keys section. Grab your keys and define it in .env file
To test payment with Stripe
npm run netlify-login
# after then
npm run netlify-devTo deploy this project run
npm run build

