Table of Contents
Full Stack E-Commerce Clothing shop made using React & firebase with Stripe payments implemented.
- React
- React Router
- Firebase
- Styled-Components
- Redux
- Redux Saga
- Stripe
This project require some prequesites and dependenscies to be installed, you can view it online using this demo. or you can find the instructions below:
To get a local copy, follow these simple steps :
-
Clone the repo
git clone https://github.com/ahmedalam98/Crwn-Clothing.git
-
go to project folder
cd Crwn-Clothing
-
install dependenscies
npm install
-
Enviromental Variables Set up
Here are the environmental variables that needs to be set in a
.env
file. This is the default setting that I used for development, but you can change it to what works for you.REACT_APP_STRIPE_PUBLISHABLE_KEY="your stripe publish key " STRIPE_SECRET_KEY="your stripe secret key "
-
Run development server
npm start
-
To run serverless function locally, use Vercel CLI
# install CLI-tool globally npm i -g vercel # login with you account vercel login # run development server with serverless function vercel dev
- To use test-payment use any dummy data like these:
- Card Number:
4242 4242 4242 4242
- MM/YY:
Any date in the future
- CVC:
424
- ZIP:
42424
- Card Number:
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request