A modern, accessible e-commerce platform built with Next.js for selling health drinks. This project features a beautiful, responsive design with a focus on user experience and performance.
Live site here: https://enbattle.github.io/vitality/
- 🛍️ Product catalog with detailed product pages
- 📱 Fully responsive design
- ♿ Accessible UI components using Radix UI
- 🎨 Modern design with Tailwind CSS
- ⚡ Fast performance with Next.js and Turbopack
- 📝 Blog section for health and wellness content
- 📧 Newsletter subscription
- 🚚 Shipping information
- 📋 FAQ section
- 👥 Careers page
- 🌱 Sustainability information
- 🔒 Privacy policy
- Framework: Next.js 15.1.7
- Language: TypeScript
- Styling: Tailwind CSS
- UI Components: Radix UI
- Animations: Framer Motion
- Development: Turbopack
- Linting: ESLint
- CSS Processing: PostCSS
- Node.js 18.x or later
- npm or yarn package manager
-
Clone the repository:
git clone https://github.com/yourusername/vitality.git cd vitality
-
Install dependencies:
npm install # or yarn install
-
Start the development server:
npm run dev # or yarn dev
-
Open http://localhost:3000 with your browser to see the result.
src/
├── app/ # Next.js app router pages
├── components/ # Reusable React components
│ └── ui/ # UI components using Radix UI
├── hooks/ # Custom React hooks
└── lib/ # Utility functions
npm run dev
- Start development server with Turbopacknpm run build
- Build the applicationnpm run start
- Start the production servernpm run lint
- Run ESLintnpm run deploy
- Build and deploy the application (via GitHub pages)
Create a .env.local
file in the root directory with the following variables:
# Add your environment variables here
The application is fully responsive and optimized for:
- Desktop
- Tablet
- Mobile devices
The project includes a custom deployment script (deploy.js
) for automated deployments. To deploy:
npm run deploy
This project is licensed under the MIT License - see the LICENSE file for details.
- Next.js team for the amazing framework
- Radix UI for accessible components
- Tailwind CSS team for the utility-first CSS framework
This is just a sample of a e-commerce platform project. Not all functionalities and implementations are included