An e-commerce platform built with Next.js and Tailwind CSS, simulating real-world application challenges. The platform allows users to browse, search, and purchase furniture products while providing a seamless and user-friendly experience.
- User Authentication: Implemented secure user authentication using NextAuth.js.
- Database Management: Utilized PostgreSQL via Supabase for efficient and scalable data storage.
- Dynamic Product Display: Showcases furniture products with category-based filtering and a sale page.
- Responsive Design: Designed with Tailwind CSS to ensure optimal user experience across devices.
- Form Validation: Integrated React Hook Form for robust input validation.
- Optimized Images: Reduced image sizes for fast load times without compromising quality.
- Framework: Next.js (React-based framework for server-rendered and static websites)
- Styling: Tailwind CSS (utility-first CSS framework)
- Authentication: NextAuth.js (authentication for Next.js applications)
- Database: PostgreSQL via Supabase
- Form Handling: React Hook Form (lightweight form library)
To run the project locally, follow these steps:
-
Clone the Repository
git clone https://github.com/melci7/furniture-project.git cd furniture-project
-
Install Dependencies
npm install
-
Environment Variables Create a
.env.local
file in the root directory and add the following environment variables:NEXT_PUBLIC_SUPABASE_URL=your-supabase-url NEXT_PUBLIC_SUPABASE_ANON_KEY=your-supabase-anon-key NEXTAUTH_URL=http://localhost:3000 NEXTAUTH_SECRET=your-nextauth-secret
-
Run the Development Server
npm run dev
Open http://localhost:3000 to view the application in your browser.
If you have any questions or need further assistance, feel free to contact me:
- Email: [email protected]
- LinkedIn: Muhammed Emrullah Elçi