# {{ name }}

A full-stack e-commerce application built with [Vendure](https://www.vendure.io/) and [{{ storefrontName }}]({{ storefrontDocumentationUrl }}).

## Project Structure

This is a monorepo using {{packageManager}} workspaces:

```
{{ name }}/
├── apps/
│   ├── server/       # Vendure backend (GraphQL API, Admin Dashboard)
│   └── storefront/   # {{ storefrontName }} frontend
└── package.json      # Root workspace configuration
```

## Getting Started

### Development

Start both the server and storefront in development mode:

```bash
{{pmRunScript "dev"}}
```

Or run them individually:

```bash
# Start only the server
{{pmRunScript "dev:server"}}

# Start only the storefront
{{pmRunScript "dev:storefront"}}
```

### Access Points

- **Vendure Dashboard**: http://localhost:{{ serverPort }}/dashboard
- **Shop GraphQL API**: http://localhost:{{ serverPort }}/shop-api
- **Admin GraphQL API**: http://localhost:{{ serverPort }}/admin-api
- **Storefront**: http://localhost:{{ storefrontPort }}

### Admin Credentials

Use these credentials to log in to the Vendure Dashboard:

- **Username**: {{ superadminIdentifier }}
- **Password**: {{ superadminPassword }}

## Production Build

Build all packages:

```bash
{{pmRunScript "build"}}
```

Start the production server:

```bash
{{pmRunScript "start"}}
```

## Learn More

- [Vendure Documentation](https://docs.vendure.io)
- [{{ storefrontName }} Documentation]({{ storefrontDocumentationUrl }})
- [Vendure Discord Community](https://vendure.io/community)
