summaryrefslogtreecommitdiff
path: root/backend/data
diff options
context:
space:
mode:
Diffstat (limited to 'backend/data')
-rw-r--r--backend/data/seed.json62
1 files changed, 62 insertions, 0 deletions
diff --git a/backend/data/seed.json b/backend/data/seed.json
new file mode 100644
index 0000000..2c6b906
--- /dev/null
+++ b/backend/data/seed.json
@@ -0,0 +1,62 @@
+{
+ "store": {
+ "currencies": ["eur"]
+ },
+ "users": [
+ {
+ "email": "admin@lsb.local",
+ "password": "supersecret"
+ }
+ ],
+ "regions": [
+ {
+ "id": "fr",
+ "name": "France",
+ "currency_code": "eur",
+ "tax_rate": 0,
+ "payment_providers": ["manual"],
+ "fulfillment_providers": ["manual"],
+ "countries": ["fr"]
+ }
+ ],
+ "shipping_options": [
+ {
+ "name": "Standard",
+ "region_id": "fr",
+ "provider_id": "manual",
+ "price_type": "flat_rate",
+ "amount": 500
+ }
+ ],
+ "products": [
+ {
+ "title": "Savon Lavande",
+ "handle": "savon-lavande",
+ "description": "Savon artisanal a la lavande.",
+ "thumbnail": "https://via.placeholder.com/600x600.png?text=Savon+Lavande",
+ "options": [
+ {
+ "title": "Taille"
+ }
+ ],
+ "variants": [
+ {
+ "title": "100g",
+ "prices": [
+ {
+ "currency_code": "eur",
+ "amount": 650
+ }
+ ],
+ "options": [
+ {
+ "value": "100g"
+ }
+ ],
+ "inventory_quantity": 100,
+ "manage_inventory": true
+ }
+ ]
+ }
+ ]
+}