Developed a fully functional ECommerce Website for product selling. The website includes a user login system and payment checkout sections.
- User Authentication: Login system using Google authentication from Firebase.
- Product Listing: Display products fetched from a Firebase database.
- Cart Management: Add to cart and remove from cart functionality.
- Checkout: Secure payment processing using Stripe API.
- Responsive Design: Styled using Tailwind CSS for a seamless experience across devices.
- ReactJS: Front-end framework for building user interfaces.
- Redux Toolkit: State management library for handling application state.
- React Router: Library for handling routing in the application.
- Stripe API: For handling secure payment processing.
- Firebase Authentication: Google authentication for user login.
- Firebase Database: NoSQL database to store and manage product data.
- Tailwind CSS: Utility-first CSS framework for styling.
- Axios: Library for making HTTP requests.
-
Clone the repository:
git clone https://github.com/yourusername/ecommerce-website.git cd ecommerce-website
-
Install dependencies:
npm install
-
Set up Firebase:
Create a Firebase project and add your Firebase configuration to a
.env
file in the root of your project:REACT_APP_FIREBASE_API_KEY=your_api_key REACT_APP_FIREBASE_AUTH_DOMAIN=your_auth_domain REACT_APP_FIREBASE_PROJECT_ID=your_project_id REACT_APP_FIREBASE_STORAGE_BUCKET=your_storage_bucket REACT_APP_FIREBASE_MESSAGING_SENDER_ID=your_messaging_sender_id REACT_APP_FIREBASE_APP_ID=your_app_id REACT_APP_FIREBASE_MEASUREMENT_ID=your_measurement_id
-
Set up Stripe:
Add your Stripe API key to the
.env
file:REACT_APP_STRIPE_API_KEY=your_stripe_api_key
-
Start the development server:
npm start
Your app should now be running on
http://localhost:3000
.
- Home Page: Browse products listed on the home page.
- Product Page: View detailed information about a specific product.
- Cart: Add products to the cart and manage the cart items.
- Checkout: Proceed to checkout and complete payment using Stripe.
Contributions are welcome! Please follow these steps to contribute:
-
Fork the repository.
-
Create a new branch:
git checkout -b feature-branch
-
Make your changes.
-
Commit your changes:
git commit -m 'Add new feature'
-
Push to the branch:
git push origin feature-branch
-
Open a pull request.
This project is licensed under the MIT License.
For questions or support, please contact:
- Email: ratneshmaurya2001@gmail.com
- GitHub: ratneshmaurya
- ReactJS
- Redux Toolkit
- React Router
- Stripe API
- Firebase
- Tailwind CSS
- Axios
- Developed by Ratnesh Maurya.