This project is a straightforward e-commerce website built with modern web technologies like Next.js, MongoDB, TailwindCSS, NextAuth, and Redux. It features essential e-commerce functionalities such as product listing, cart management, and user authentication with Google.
- Product Listing: Display available products with all necessary details.
- Cart Management: Add, remove, and manage items in the cart with real-time updates.
- Google Authentication: Secure user authentication using Google via NextAuth.
- Responsive Design: Optimized for various devices using TailwindCSS.
- Frontend: Next.js, TailwindCSS, Redux
- Backend: Next.js API Routes, MongoDB
- Authentication: NextAuth (Google Login)
- State Management: Redux
- Clone the repository:
git clone https://github.com/AmruthLP12/e-commerce.git
cd e-commerce
npm install
- Set up environment variables
- Create a .env.local file in the root directory.
- Add the following variables
GOOGLE_CLIENT_ID =
GOOGLE_CLIENT_SECRET =
NEXTAUTH_SECRET =
MONGO_URI =
UPLOADTHING_SECRET =
UPLOADTHING_APP_ID =
- Run the development server
npm run dev
If you have any questions or feedback, feel free to reach out:
GitHub: AmruthLP12
Portfolio: amruthlp.vercel.app