---
title: Deploy EverShop with AI on Blossom
url: "/deploy/evershop/"
canonical_url: https://blossom88.com/deploy/evershop/
markdown_url: https://blossom88.com/deploy/evershop.md
summary: Add a product to an EverShop storefront and place a sample cash-on-delivery
  order.
categories:
- deployment
- commerce
stack:
- TypeScript
- Node.js
- React
- GraphQL
- PostgreSQL
---

# Deploy EverShop with AI on Blossom

[EverShop](https://evershop.io/) is a TypeScript commerce platform with
a storefront and an admin for products, shipping, and orders.

## Ask Your Agent

> **Ask your AI agent:** Deploy EverShop on Blossom and help me put a sample product through checkout.
>
> Follow this guide: https://blossom88.com/deploy/evershop/

[Install the Blossom CLI and skill](https://docs.blossom88.com/learn/getting-started/install/) on your agent's machine and choose a Blossom Cloud Location when you log in. You can also use [Blossom BYOC (bring your own cloud)](https://docs.blossom88.com/learn/getting-started/choose-your-cloud/#blossom-byoc).

## Have Ready

Nothing is required beyond your Blossom account.

- **Payment provider** (Later): Cash on Delivery is enough for the sample checkout.

## How It Runs

| Part | Role | Where |
|---|---|---|
| EverShop | Run the storefront and administration | Persistent Service with one Container |
| PostgreSQL | Store products, sessions, and orders | Blossom Managed Data |
| Product media | Keep uploaded images | Volume mounted at /app/media |

## Deploy EverShop

Use [EverShop's open-source edition](https://github.com/evershopcommerce/evershop).
Link managed PostgreSQL and attach a Volume for product images. Keep the
sample store behind Blossom Account access while you try checkout.

<details class="optional-reading" markdown="1">
<summary>Commands your agent runs</summary>

    blossom database_instance:create --data postgres.yml
    blossom environment_link:create --data database-link.yml
    blossom service:create --data evershop.yml
    blossom environment:deploy --id environment-100 --follow

</details>

<details class="optional-reading" markdown="1">
<summary>Notes for your agent</summary>

Set `EVERSHOP_HOME_URL` to the storefront's HTTPS address so sign-in and
checkout use the correct host. EverShop reads separate `DB_*` settings.
Derive them from the linked PostgreSQL URL, including the connection
security settings. Let startup run the database migrations before
creating the first administrator.

Keep product media at `/app/media` on the
[Persistent Service Volume](/docs/apps/persistent-services/).

</details>

## Add a Product

Sign in to the admin and add one in-stock product with an image. Create
a package and a flat-rate method for your sample shipping address.

> **Ask your AI agent:** Add a sample notebook with an image and set up a flat shipping rate.

> Follow this guide: https://blossom88.com/deploy/evershop/



![Open the sample product with its image.](/deploy/assets/images/evershop/sample-evershop-order.webp)

## Place a Sample Order

Enable Cash on Delivery. Open the storefront in a separate browser
session, add the product to the cart, and complete checkout with sample
customer details.

> **Ask your AI agent:** Place a sample order using Cash on Delivery and open it in the admin.

> Follow this guide: https://blossom88.com/deploy/evershop/



![Confirm the guest order using Cash on Delivery.](/deploy/assets/images/evershop/complete-cash-on-delivery.webp)

## Reopen the Order After an Update

Keep the product media Volume and database when you replace the EverShop
Container. Sign in and reopen the order, then check the image on the
storefront.

> **Ask your AI agent:** Replace the EverShop Container and find the same order and product image.

> Follow this guide: https://blossom88.com/deploy/evershop/



![Open the same order in the EverShop admin after Container replacement.](/deploy/assets/images/evershop/reopen-evershop-order.webp)

## What You Get

A sample storefront with a checkout you can test before connecting a
payment provider. The order and uploaded image stay available after
Container replacement.

## What You Get

- A storefront with a product and its image
- A sample order using Cash on Delivery
- The same order and image after Container replacement

Tested on Blossom: The sample guest placed an order using Cash on Delivery. The same order and product image survived Container replacement.
