Skip to content

A-Reggae/amazon-project

Repository files navigation

Amazon Clone

🚀 A Full-Stack Amazon Clone built with React & Node.js

📌 Project Overview

This project is a full-stack e-commerce web application inspired by Amazon. It allows users to browse products, add items to a cart, and manage orders. Built using React (Vite) for the frontend and Node.js + Express for the backend, it features user authentication, a shopping cart, and a secure checkout process.


🛠 Tech Stack

Frontend (React + Vite)

  • Vite (Fast bundler)
  • 🎨 TailwindCSS (Styling) / Material UI (Optional)
  • 🔄 React Router (Client-side routing)
  • 🌍 Axios (Handling API requests)
  • 🛒 Redux Toolkit / Context API (State management)

Backend (Node.js + Express)

  • 🔹 Express.js (REST API)
  • DataBase
  • 🔐 JWT Authentication (User login & security)
  • 📦 Cloudinary / Firebase Storage (For product images)

🚀 Installation & Setup

1️⃣ Clone the Repository

git clone https://github.com/A-reagge/amazone-clone.git
cd amazon-clone

2️⃣ Install Dependencies

# Install frontend dependencies
cd client
npm install

# Install backend dependencies
cd ../server
npm install

3️⃣ Create a .env File

Create a .env file in the backend folder and add your environment variables:

JWT_SECRET=your_jwt_secret_key
CLOUDINARY_URL=your_cloudinary_api_url

4️⃣ Run the Development Server

# Start frontend (Vite)
cd client
npm run dev

# Start backend (Express)
cd ../server
npm start

🔗 API Routes

  • GET /api/products → Fetch all products
  • POST /api/cart → Add items to the cart
  • POST /api/auth/register → User registration
  • POST /api/auth/login → User login

📌 Features

✔️ User Authentication (JWT-based login/sign-up) ✔️ Product Listings (Dynamic product pages) ✔️ Shopping Cart (Add/remove products) ✔️ Secure Checkout (Order processing & payments) ✔️ Admin Dashboard (Manage products & orders) ✔️ Fully Responsive UI (Mobile & desktop friendly)


🚀 Future Enhancements

  • Stripe/PayPal Integration (For real payments)
  • Order Tracking System
  • Wishlist Feature

📜 License

This project is open-source.


📞 Contact

👨‍💻 Developed by Aregahegn Bekele 📧 Email: aregahegng@gmail.com 🌐 Portfolio: aregahegnbekele.com

Let me know if you need any additional features or modifications! 🚀🔥

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors