Live Link : Amazon Clone Live Link
This project is a full-stack web application built with cutting-edge technologies to replicate the core functionalities of the original Amazon platform. It demonstrates knowledge in various technologies, including React.js for the frontend, Stripe for secure payment processing, React Context API for efficient state management, Firebase Cloud Functions for handling Stripe payments, Firebase Firestore for real-time database management, Firebase for user authentication, Sass for styling, React-Slick for a dynamic carousel, and responsive design for cross-device compatibility. Please note that this clone is for educational purposes only and does not process actual payments.
- ReactJS
- Firebase (User Authentication, Firestore and Cloud Functions)
- Axios
- React Context API (State Management)
- Sass
- Material UI
- StripeJS
- ReactJs & Material UI: The project leverages React.js and Material UI for the frontend to closely resemble the actual amazon.
- Stripe Payment Processing: Payment processing is integrated with Stripe, offering a seamless checkout experience which replicates an actual payment functionality.
- React Context API: Used to efficiently manage state of user and cart information.
- Firebase Authentication: Employed for user authentication, providing robust and secure login and registration functionalities.
- Sass Styling: Styling is organized and modular with Sass, enhancing maintainability and scalability.
- Firebase Cloud Functions: Leveraged for implementing Stripe payments and handling order processing.
- Firebase Firestore: A real-time NoSQL database is used to keep track of user orders, providing real-time updates and a responsive shopping experience.
- Axios and Express.js: Employed to set up an API for payment processing, receiving payment intents from Stripe, and ensuring secure transactions.
- /src
- /axios
- axios.js
- /components
- App.js
- Header.js
- ...
- /firebase
- firebaseConfig.js
- /react-context-api
- reducer.js
- StateProvider.js
- /scss
- /utils
- ...
- styles.scss
- index.js
- index.scss
- ...
- /functions
- index.js
- Clone the repository
git clone https://github.com/vijita-u/Amazon-Clone-ReactJs.git
- Install dependencies using npm:
npm install
- Start the development server:
npm start
- Access the web application through your browser.
- Browse products, add items to your cart, and proceed to checkout with Stripe payment processing (note that no actual payments are processed).
To deploy the project
- Create a Firebase project and configure Firebase settings in /src/firebase/firebaseConfig.js.
- Login to firebase through command line
firebase login
- Initialize firebase project
firebase init
- Build the project:
npm run build
- Deploy to firebase:
firebase deploy
- This project was inspired by the original Amazon website and Clever Programmer's Amazon Clone.
- Stripe for payment processing.
- Firebase for real-time database, authentication, and hosting.
This project is open-source and available under the MIT License.