Pot.EdD Apothecary is an e-commerce platform for a local nursery specializing in native, perennial fruits and plants. This Next.js application provides a seamless shopping experience for customers interested in sustainable, locally-grown plants.
- Responsive design for desktop and mobile devices
- Product catalog with categories
- Shopping cart functionality with local storage persistence
- Checkout process with Stripe integration
- Newsletter subscription
- Contact form
- Inventory management with stock quantity checks
- Product reservation system during checkout
- Next.js 14 with App Router
- TypeScript
- Tailwind CSS for styling
- Shadcn UI for UI components
- Supabase for database and authentication
- Stripe for payment processing
- Vercel for deployment and serverless functions
-
Clone the repository:
git clone https://github.com/your-username/potedd-apothecary.git cd potedd-apothecary
-
Install dependencies:
npm install
-
Set up environment variables: Create a
.env.local
file in the root directory and add the following variables:NEXT_PUBLIC_SUPABASE_URL=your_supabase_url NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=your_stripe_publishable_key STRIPE_SECRET_KEY=your_stripe_secret_key
-
Run the development server:
npm run dev
-
Open http://localhost:3000 in your browser to see the application.
This project is set up for easy deployment on Vercel. Connect your GitHub repository to Vercel and it will automatically deploy your main branch.
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the Creative Commons Zero v1.0 Universal License.