This project is a modern e-commerce website built using Next.js, TypeScript, and Tailwind CSS. It includes features such as product listings, cart management, user authentication, and more.
- Product Listings: Browse and search for products.
- Cart Management: Add, remove, and update items in your cart.
- User Authentication: Sign up and log in using email/password or Google.
- Responsive Design: Optimized for both desktop and mobile devices.
- Node.js (v14 or later)
- npm or yarn
-
Clone the repository:
git clone https://github.com/Agam77055/Ecommerce-Website.git cd Ecommerce-Website -
Install dependencies:
npm install # or yarn install -
Run the development server:
npm run dev # or yarn dev -
Open http://localhost:3000 in your browser to see the application.
src/: Contains the source code for the application.app/: Next.js app directory with pages and API routes.components/: Reusable UI components.context/: React context for state management (e.g., cart).lib/: Utility functions and database connections.types/: TypeScript type definitions.utils/: Helper functions.
This project is deployed on Render and Vercel.
This project is licensed under the MIT License - see the LICENSE file for details.