Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

fatihes1/e-commerce-ui

Repository files navigation

🛒 Basic E-Commerce (Next.js + JSON Server)

Bu proje, modern bir e-ticaret uygulamasının frontend (Next.js 15) ve mock backend (JSON Server) entegrasyonu ile geliştirilmiş bir web uygulamasıdır.

Tamamen Next.js App Router, TailwindCSS, Headless UI, Heroicons ve Context API kullanılarak yazılmıştır.

Live Demo


✅ Özellikler

  • ✅ Ürün listeleme
  • ✅ Ürün detay sayfası (+ rating ve review count)
  • ✅ Sepet sistemi (CartContext)
  • ✅ Wishlist sistemi (guest + auth)
  • ✅ Login / Logout (cookie tabanlı)
  • ✅ Profil sayfası
  • ✅ Sipariş geçmişi
  • ✅ JSON Server ile sahte backend
  • ✅ Modern responsive UI (Tailwind + HeadlessUI)
  • ✅ Tamamı Next.js 15 (App Router) ile

✅ Kullanılan Teknolojiler

Teknoloji Açıklama
Next.js 15 App Router, Server/Client Components
React (JS) UI
TailwindCSS Stil
HeadlessUI UI bileşenleri (Popover, Dialog, Disclosure)
Heroicons Icon seti
React Context API Cart, Wishlist, Auth yönetimi
JSON Server Mock REST API backend
Axios & Fetch API istekleri
react-hot-toast Bildirim sistemi

✅ Gereksinimler

  • Node.js >= 20 (zorunlu)
  • npm veya yarn

Node versiyonunu kontrol etmek için:

node -v

✅ Kurulum

  1. Projeyi klonlayın:
git clone https://github.com/fatihes1/e-commerce-ui.git

cd e-commerce-ui
  1. Bağımlılıkları yükleyin:
npm install
# veya
yarn install
  1. Environment dosyasını oluşturun.
touch .env
  1. .env dosyasını açın ve aşağıdaki satırı ekleyin:
NEXT_PUBLIC_API_BASE_URL=http://localhost:8000
  1. Projeyi başlatın:
npm run dev:concurrent
# veya
yarn dev:concurrent

Bu komut, hem Next.js uygulamasını hem de JSON Server'ı aynı anda başlatır.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •