Kotek is an eCommerce platform dedicated to selling a variety of computer equipment. Built with modern technologies, it offers a user-friendly interface and a seamless shopping experience.
- User Authentication: Secure login and registration for users.
- Role-Based Access: Admins can manage products and orders efficiently.
- Product Management: Admins can create, update, and delete products.
- Analytics: Admins can view a detailed analysis about their business.
- Shopping Cart: Users can add, remove, and update products in their cart.
- Responsive Design: Optimized for both desktop and mobile devices.
- Toast Notifications: Real-time feedback for user actions.
- Frontend:
- React
- TypeScript
- Tailwind CSS
- Shadcn
- Backend:
- Next.js
- Prisma
- PostgreSQL
- Authentication:
- NextAuth.js
- Node.js (version 14 or higher)
- PostgreSQL (version 12 or higher)
-
Clone the repository:
git clone https://github.com/yourusername/kotek.git
-
Navigate to the project directory:
cd kotek -
Install dependencies:
npm install
or
bun install
-
Set up your PostgreSQL database and update the environment variables in the
.envfile:DATABASE_URL=postgresql://USER:PASSWORD@localhost:5432/DATABASE_NAME NEXTAUTH_SECRET=your_secret_key -
Run database migrations:
npx prisma migrate dev
-
Start the development server:
npm run dev
-
Open your browser and navigate to
http://localhost:3000.
Contributions are welcome! Please open an issue or submit a pull request for any feature requests or bug fixes.
This project is licensed under the MIT License. See the LICENSE file for more details.
For any inquiries, please reach out via [your email or contact method].
Thank you for checking out Kotek! We hope you enjoy your shopping experience.