- Introduction
- Features
- Tech Stack
- Screenshots
- Getting Started
- Project Structure
- Payment Integration
- Contributing
This is a full-stack e-commerce website built with modern web technologies. It allows users to browse products, add them to the cart, and proceed to a secure checkout with payment integration using Stripe. This project showcases best practices in modern web development, including performance optimizations and state management.
- User authentication (Firebase)
- Product browsing and filtering
- Shopping cart functionality
- Stripe payment integration
- Responsive design (Tailwind CSS)
- Search functionality
- User reviews and ratings
- Order tracking
Frontend:
- Vite - Fast build tool
- React - Frontend library for building user interfaces
- Tailwind CSS - Utility-first CSS framework
- React Router - Client-side routing
- Stripe - Payment processing
Backend:
- Firebase - Authentication and database for user management
- MongoDB - NoSQL cloud database for product and order data
Others:
- React Query - Data fetching and state management
- Axios - HTTP client for API requests
- Node.js and Express
Include some screenshots here of your e-commerce website interface, product page, cart, checkout, etc.
To run this project, you'll need to have the following installed:
-
Clone the repository:
git clone https://github.com/mk-saadi/animeFig.git
-
Navigate into the project directory:
cd animeFig
-
Install the dependencies:
npm install
-
Set up your environment variables by creating a
.env.local
file at the root of the project:apiKey: import.meta.env.VITE_APIKEY, authDomain: import.meta.env.VITE_AUTHDOMAIN, projectId: import.meta.env.VITE_PROJECTID, storageBucket: import.meta.env.VITE_STORAGEBUCKET, messagingSenderId: import.meta.env.VITE_MESSAGINGSENDERID, appId: import.meta.env.VITE_APPID,
-
Start the development server:
npm run dev
-
Open your browser and go to:
http://localhost:5173/
-
For the production build, run:
npm run build
├── src/
│ ├── assets/ # image files
│ ├── components/ # Pages, reusable components etc.
│ ├── index.css # Main CSS styling file
│ └── main.jsx # Entry point
├── .env # Environment variables
├── package.json # Project metadata and dependencies
├── README.md # Project documentation
└── vite.config.js # Vite configuration