This project is deployed and accessible at this link.
This repository contains the source code for a Full-Stack E-Commerce Website designed for a Pastry Shop. The website is built using Next.js, Tailwind CSS, Stripe for payment processing, and Zustand for state management.
-
Responsive Design: The website is fully responsive, ensuring a seamless browsing experience across various devices and screen sizes.
-
Product Showcase: Display a variety of pastry products with images, descriptions, and prices.
-
Shopping Cart: Users can add items to their cart.
-
Checkout Process: Seamless and secure checkout process using Stripe for payment handling.
-
State Management: Zustand is used for efficient state management, providing a smooth user experience.
-
Admin Panel (Future Enhancement): An admin panel for shop owners to manage products, inventory, and orders.
-
Next.js: A React framework for building server-rendered applications.
-
Tailwind CSS: A utility-first CSS framework for rapidly building custom designs.
-
Stripe: A popular platform for online payment processing.
-
Zustand: A state management library that offers a simple and flexible API.
-
Clone the Repository: Start by cloning this repository to your local machine using the following command:
git clone https://github.com/your-username/pastry-shop-ecommerce.git
-
Navigate to the Project Directory: Move into the project directory:
cd pastry-shop-ecommerce
-
Install Dependencies: Install the required dependencies using npm or yarn:
npm install # or yarn install
-
Set Up Stripe: Obtain your Stripe API keys and replace them in the appropriate configuration files.
-
Run the Development Server: Start the development server to see the project in action:
npm run dev # or yarn dev
-
Access the Website: Open your web browser and navigate to
http://localhost:3000
to see the E-Commerce website.
To deploy the project, you can follow the deployment guides for Next.js applications on platforms like Vercel, Netlify, or your own server.
Contributions are welcome! If you find a bug or want to add a new feature, feel free to open an issue or submit a pull request.
This project is licensed under the MIT License.