Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

TS packages README/Licenses cleanup

Damian Legawiec0b97c2284069
diff --git a/packages/create-spree-app/LICENSE b/packages/create-spree-app/LICENSE
new file mode 100644
index 0000000000..fbaaca776c
--- /dev/null
+++ b/packages/create-spree-app/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2026 Vendo Connect Inc., Vendo Sp. z o.o.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/packages/create-spree-app/README.md b/packages/create-spree-app/README.md
new file mode 100644
index 0000000000..123fb76e80
--- /dev/null
+++ b/packages/create-spree-app/README.md
@@ -0,0 +1,92 @@
+# create-spree-app
+
+Scaffold a new [Spree](https://spreecommerce.org) project with a single command. Backend runs via Docker using pre-built images
+
+## Quick Start
+
+```bash
+npx create-spree-app my-store
+```
+
+This will walk you through an interactive setup:
+
+1. Choose **Full-stack** (Backend + Next.js Storefront) or **Backend only**
+2. Optionally load sample data (products, categories, images)
+3. Optionally start Docker services immediately
+
+## CLI Flags
+
+For non-interactive usage:
+
+```bash
+npx create-spree-app my-store --backend-only --no-sample-data --no-start
+```
+
+| Flag | Description |
+|------|-------------|
+| `--backend-only` | Skip storefront setup |
+| `--no-sample-data` | Skip loading sample products |
+| `--no-start` | Don't start Docker services |
+| `--use-npm` | Use npm as package manager |
+| `--use-yarn` | Use yarn as package manager |
+| `--use-pnpm` | Use pnpm as package manager |
+
+## What You Get
+
+```
+my-store/
+├── docker-compose.yml # Spree backend + Postgres
+├── .env # SECRET_KEY_BASE for Rails
+├── .gitignore
+├── package.json # Convenience scripts (dev, down, logs, etc.)
+├── README.md # Getting started guide
+└── apps/
+ └── storefront/ # Next.js app (full-stack mode only)
+```
+
+## Prerequisites
+
+- [Node.js](https://nodejs.org/) >= 20
+- [Docker](https://docs.docker.com/get-docker/) (for running the backend)
+
+## After Setup
+
+### Admin Dashboard
+
+Open http://localhost:3000/admin
+
+- Email: `[email protected]`
+- Password: `spree123`
+
+### Store API
+
+http://localhost:3000/api/v3/store
+
+### Storefront (full-stack mode)
+
+```bash
+cd my-store/apps/storefront
+npm run dev
+```
+
+Open http://localhost:3001
+
+## Useful Commands
+
+Run these from your project directory:
+
+| Command | Description |
+|---------|-------------|
+| `npm run dev` | Start backend services |
+| `npm run down` | Stop backend services |
+| `npm run logs` | View backend logs |
+| `npm run console` | Rails console |
+| `npm run load-sample-data` | Load sample products, categories |
+
+## Learn More
+
+- [Spree Documentation](https://docs.spreecommerce.org)
+
+## License
+
+MIT
diff --git a/packages/next/LICENSE b/packages/next/LICENSE
new file mode 100644
index 0000000000..fbaaca776c
--- /dev/null
+++ b/packages/next/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2026 Vendo Connect Inc., Vendo Sp. z o.o.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.