Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lucasalvaresa/shadcn-ui-store

A store created with Next.js, Shadcn UI, TailwindCSS and Zustand
https://github.com/lucasalvaresa/shadcn-ui-store

nextjs shadcn-ui tailwind-css zustand

Last synced: 8 days ago
JSON representation

A store created with Next.js, Shadcn UI, TailwindCSS and Zustand

Awesome Lists containing this project

README

        

#

Shadcn-UI Store





## Project Overview

**Shadcn-UI Store** is a **Frontend-only** virtual store project built with **Next.js**, **TypeScript**, **Shadcn-UI**, **Zustand**, and **TailwindCSS**. This project features a shopping cart where users can add products, view the total, and at the end of the checkout process, the application generates a summary message containing all customer details and selected products. This message is sent to the store via **WhatsApp**.

This project is purely client-side, meaning there is **no backend** or **API integration** involved. It serves as an example of modern UI development with interactive components, state management, and dynamic content rendering.

## Features

- Interactive shopping cart functionality.
- Automatic generation of a WhatsApp message with the order summary.
- Fully responsive design with TailwindCSS.
- Modular and reusable components using Shadcn-UI.
- State management handled by Zustand.

## Getting Started

To get a local copy of this project up and running, follow these steps.

### Installation

1. Clone the repository:

```bash
git clone [email protected]:LucasAlvaresA/shadcn-ui-store.git
```

2. Install the NPM packages:

**Note:** Due to compatibility issues between **Shadcn-UI** and **Next.js 15**, you may encounter dependency errors during installation. In this case, use the following command to force the installation of the required packages:

```bash
npm install --force
```

3. Create a `.env` file at the root of the project. Use the provided `.env.example` as a template.

**Example `.env` file:**

```env
# Your WhatsApp number
NEXT_PUBLIC_WHATSAPP="123456789101112131415"
```

4. Run the project:

```bash
npm run dev
```

## Conclusion

This project demonstrates various frontend features and UI components, including a shopping cart and WhatsApp integration, while focusing solely on client-side functionality. Feel free to explore, modify, and expand upon this project as you wish.

---