Welcome to the 254Outfit E-commerce Website repository! This project is a specialized e-commerce platform designed exclusively for outfit shopping within Kenya (254). It provides a seamless shopping experience with features tailored for users in Kenya, integrating modern web technologies and secure payment options.
- Browse and Purchase Outfits: Explore a wide range of outfits specifically curated for the Kenyan market.
- User-Friendly Product Search: Search for outfits by category, size, color, or occasion.
- Secure Payment Integration: Process payments securely via Paystack.
- Order Management: Track your orders and receive real-time updates.
- Responsive Design: Enjoy a smooth shopping experience on both desktop and mobile devices.
- Manage products (add, edit, delete, and update inventory).
- View and manage customer orders.
- Monitor sales performance and generate reports.
- Paystack: A secure and reliable payment gateway for processing transactions in Kenyan Shillings.
- Content and pricing tailored for the Kenyan market.
- Support for local delivery options.
- Next.js 15: A modern React framework with server-side rendering and static site generation for enhanced performance.
- TypeScript: Ensuring type safety and improved developer productivity.
- Hono: A fast, lightweight web framework for handling server-side API requests.
- Paystack: For secure payment processing.
Follow these steps to set up the project locally:
-
Clone the Repository:
git clone https://github.com/devalentineomonya/254Outfit-Ecommerce-Website.git cd 254Outfit-Ecommerce-Website
-
Install Dependencies: Ensure you have Node.js and npm or Yarn installed, then run:
npm install # or yarn install
-
Configure Environment Variables: Create a
.env
file in the root directory and add the following:DATABASE_URL=your_database_url PAYSTACK_SECRET_KEY=your_paystack_secret_key NEXT_PUBLIC_PAYSTACK_PUBLIC_KEY=your_paystack_public_key
-
Run the Development Server:
npm run dev # or yarn dev
The application will be available at
http://localhost:3000
. -
Build for Production:
npm run build
.
├── components # Reusable React components
├── pages # Next.js pages
├── public # Static assets
├── server # Hono backend server
├── styles # Global and component-specific styles
├── utils # Helper functions and utilities
├── prisma # Prisma schema for database management
└── .env # Environment variables
- Deploy the frontend on platforms like Vercel.
- Host the backend on your preferred server.
- Use a cloud-hosted database for scalability.
Contributions are welcome! Follow these steps to contribute:
- Fork the repository.
- Create a new branch (
git checkout -b feature/your-feature
). - Commit your changes (
git commit -m 'Add new feature'
). - Push to the branch (
git push origin feature/your-feature
). - Open a pull request.
This project is licensed under the MIT License.
Developed by Valentine Omonya.