Welcome to Opora
Opora is a complete online shop for food and drink: delis, coffee roasters, wine shops, honey and olive-oil producers, chocolatiers and gift shops. You get the code of two apps and the database that connects them. You install it once on accounts you own, and from then on you run the shop from the admin, without code.
The storefront with the Delicatessen store style. The other four styles are one click away in the admin.
How Opora is put together
| Part | What it is | Where it lives |
|---|---|---|
| Storefront | The shop your customers see: home page, shop and category pages, product pages, cart, checkout. In English and Greek. | frontend/ → published on Vercel, for example at shop.example.com |
| Admin | Where you work: orders, invoices, products, stock, customers, reports, the look of the shop. | admin-dashboard/ → published on Vercel, for example at admin.example.com |
| Database | Products, orders, customers, settings and photos, with security rules that protect them. | supabase/ → runs in your own Supabase project |
| Code storage | The copy of the code that Vercel publishes from. Every change you upload is published by itself. | Your private repository on GitHub |
You do not need a hosting company or a server. GitHub, Supabase and Vercel do that work, and all three accounts are yours.
How to use this documentation
- EN / ΕΛ at the top switches the whole documentation between English and Greek. You stay at the same place, and your choice is remembered.
- The menu on the left shows every chapter. The chapter you are reading opens to show its sections, and the section on your screen is highlighted. On a phone, open it with ☰.
- Search at the top of the menu finds a word in any section.
- Code and commands have a Copy button. Paste them exactly; change only what the text tells you to change.
- Short videos show the steps that happen on other websites (GitHub, Supabase, Vercel, your domain registrar).
- The checklists chapter can be printed one list at a time.
- Labels show who a part is for: Everyone Developers. If a part is marked optional, you can skip it and the shop still works.
Choose your path
Pick the description that fits you best. Each path uses the same chapters in a different order.
1 · First online shop
You have never published a website, and words like repository or DNS are new.
- Read Quick start to see the whole journey.
- Keep the Glossary open in a second tab.
- Follow Installation step by step, watching each video before you do the step.
- Print the installation checklist and tick it as you go.
Plan an evening (2–3 hours) for the first time. Nothing you do can break your computer, and every step can be repeated.
2 · Coming from WordPress or Shopify
You have run a shop or site before, but not on this kind of setup.
- Read Coming from WordPress or Shopify below. It maps what you know to Opora.
- Skim Quick start, then follow Installation.
- Go to Admin guide and Before you go live.
Plan 1–2 hours.
3 · Developer
You know Git, Node.js and SQL, and you may change the code.
- Quick start has every command on one page.
- Developer guide: structure, data flow, environment variables, extending the shop, and how to keep your changes when you update.
- Database reference: tables, roles and functions.
Plan 30–45 minutes for a first install.
Coming from WordPress or Shopify
Most of what you know still applies. Only the names and places change.
| You know | In Opora |
|---|---|
| Hosting company, cPanel, FTP | Vercel publishes the shop. You never upload files by hand. |
| MySQL database, phpMyAdmin | Supabase (PostgreSQL). Its Table Editor and SQL Editor replace phpMyAdmin. |
| Uploading a theme or plugin update | You replace the files, then upload them to GitHub (a push). Vercel publishes the new version within a minute or two. |
| Themes | Five store styles (Delicatessen, Roastery, Cellar, Apiary, Chocolatier) plus colours and fonts, all chosen in the admin. |
| Page builder (Elementor, Shopify sections) | Website → Page builder: 15 section types, templates for every kind of page, live preview. |
| WooCommerce / Shopify products and variants | Products, with variants by weight, volume or pack, and volume prices. |
| Plugins for invoices, stock, SEO, filters, wishlist | Built in: invoices and receipts, purchases and stock, SEO, filters, wishlist, deal of the day. |
| Shopify apps (monthly fees) | No apps and no monthly fee to us. You pay only the services you use (see below). |
| Staging site | A second Supabase project and a second pair of Vercel projects (see Live demo). |
The main differences to keep in mind:
- There is no "update" button. An update is a new zip of files. You copy them over your folder and push them to GitHub (how).
- Settings that hold keys live in Vercel, not in the admin, for example the database address and the email password. They are called environment variables, and the installation shows each one.
- The database is yours. You can open, export and back up every table at any time in Supabase.
What you need, and what it costs
| You need | Why | Free plan | For a live shop |
|---|---|---|---|
| A computer (macOS, Windows or Linux) | To unzip the files and upload them to GitHub | — | — |
| Node.js 22 or newer | Only to run the shop on your own computer (optional) | Free | Free |
| GitHub account | Stores your code privately | Enough | Enough |
| Supabase account | The database, sign-in and photos | Enough to install and test | Paid plan recommended. Free projects pause after a week without activity and have no daily backups. |
| Vercel account | Publishes the shop and the admin | Hobby plan: personal, non-commercial use only | Paid plan (for example Pro) for a shop that sells |
| A domain name | Your own address, for example myshop.gr |
— | Paid yearly to your registrar |
| Email sending (any mailbox with SMTP, or Resend) | Order confirmations | Usually enough to start | Depends on how many orders you send |
⚠ These costs are not part of the price of Opora. Each service has its own prices and terms, and they change. Check their pricing pages before you go live. You can build and test the whole shop on free plans and upgrade only when you are ready to take real orders.
What is in the package
opora/
├── frontend/ the storefront (Next.js)
├── admin-dashboard/ the admin (React + Vite)
├── supabase/
│ ├── schema.sql creates the whole database: run it once
│ ├── seed.sql sample catalogue: 7 categories, 34 products (optional)
│ ├── demo/ more sample content and the live-demo kit (optional)
│ └── migrations/ database updates of later versions
├── documentation/ this documentation (open index.html)
├── docs/ the same documentation as Markdown files, in English and Greek
├── tools/docs/ the tool that builds this documentation
├── README.md · CHANGELOG.md · CREDITS.md · LICENSE.md
The sample products come without photos. The photos in the live demo are not included (see Credits). Add your own in Admin → Media.
Quick start
The whole installation on one page. Each step links to its full explanation in Installation. If this is your first website, read this page once to see the journey, then follow the full chapter.
The journey in seven steps
| # | Step | Where | Time | Result |
|---|---|---|---|---|
| 1 | Create the accounts | GitHub, Supabase, Vercel | 10 min | Three accounts, Vercel signed in with GitHub |
| 2 | Upload the code | GitHub | 5–10 min | A private repository with frontend, admin-dashboard, supabase |
| 3 | Create the database | Supabase | 10 min | Tables created, your admin account, two keys copied |
| 4 | Publish the shop and the admin | Vercel | 10 min | Two addresses ending in .vercel.app that work |
| 5 | Connect your domain | Vercel + your registrar | 10 min + waiting | shop.example.com and admin.example.com with HTTPS |
| 6 | Order emails | Vercel | 10 min | Confirmation emails arrive |
| 7 | Search engines | Admin + Google | 10 min | Shop verified in Google Search Console |
Then go to Your first day in the admin and Before you go live.
Where you will work
You move between four places. It helps to keep each in its own browser tab.
| Tab | You go there to… |
|---|---|
| GitHub (github.com) | keep the code. You rarely open it after the installation. |
| Supabase (supabase.com/dashboard) | create the database, add admin users, run SQL files from updates. |
| Vercel (vercel.com) | publish the shop, set environment variables, connect the domain, read logs. |
Your admin (for example admin.example.com) |
run the shop every day. This is where you will spend almost all of your time. |
The essentials, for those who know
Developers Everything in the installation chapter, compressed.
# 1. Repository
cd opora
git init && git add -A && git commit -m "Initial commit"
git branch -M main
git remote add origin https://github.com/YOUR-USERNAME/YOUR-REPO.git
git push -u origin main
-- 2. Supabase → SQL Editor: run supabase/schema.sql (and optionally seed.sql + supabase/demo/*.sql)
-- Authentication → Users → Add user (Auto Confirm), then:
update public.profiles set role = 'admin' where email = 'you@example.com';
- Vercel: import the repository twice.
| Project | Root Directory | Preset | Environment variables |
|---|---|---|---|
| Storefront | frontend |
Next.js | NEXT_PUBLIC_SUPABASE_URL, NEXT_PUBLIC_SUPABASE_ANON_KEY |
| Admin | admin-dashboard |
Vite | VITE_SUPABASE_URL, VITE_SUPABASE_ANON_KEY |
Node.js version: 22.x or 24.x in both projects. Optional variables (email, site URL, demo) are listed in Environment variables.
# 4. Local development (optional)
cd admin-dashboard && cp .env.example .env && npm install && npm run dev # http://localhost:5173
cd frontend && cp .env.example .env.local && npm install && npm run dev # http://localhost:3000
- Admin → Settings: shop details, shop address (URL), VAT, document series. Website → Shipping and payment: replace the placeholder bank details.
Glossary
The words you will meet during the installation, in plain language. You do not need to learn them in advance: come back here whenever a word is unclear.
Code and GitHub
| Word | What it means |
|---|---|
| Repository (repo) | A folder of code kept on GitHub, with the history of every change. Yours should be Private. |
| Commit | A saved snapshot of your files, with a short message such as "Update Opora". |
| Push | Uploading your commits from your computer to GitHub. Vercel publishes every push to main automatically. |
| Branch / main | A line of work in a repository. You only need main. |
| Git | The program that makes commits and pushes. GitHub Desktop is a version with buttons instead of commands. |
| Terminal | A window where you type commands. On macOS: the Terminal app, or in VS Code Terminal → New Terminal. On Windows: PowerShell or Git Bash. |
cd |
"Change directory": moves the terminal into a folder, for example cd opora. |
| Node.js / npm | The engine that builds and runs JavaScript apps, and its tool for installing their parts. Needed only to run the shop on your own computer. |
| Placeholder | An example value you must replace, such as YOUR-USERNAME or you@example.com. |
Database
| Word | What it means |
|---|---|
| Supabase project | Your own database, with sign-in and photo storage. One project = one shop. |
| SQL | The language used to talk to the database. You only copy and run the files you are given. |
| SQL Editor | The page in Supabase where you paste SQL and press Run. |
Schema (schema.sql) |
The file that creates all tables, rules and functions. Safe to run again. |
Seed (seed.sql) |
Sample products, so the shop is not empty while you try it. |
| Migration | A small SQL file that comes with an update and changes the database without losing data. |
| Row Level Security (RLS) | Database rules that decide who may read or change each row. They are why the public key is safe to use in the browser. |
| anon / publishable key | The public key the apps use. Safe in the browser. |
| service_role / secret key | A key that bypasses every rule. Opora never needs it. Never put it anywhere. |
| Role | What an account may do: admin (everything), demo (look only), customer (cannot open the admin). |
Publishing and domains
| Word | What it means |
|---|---|
| Deploy | Vercel building your code and putting it online. Each push makes a new deployment. |
| Redeploy | Building the same code again, needed after you change an environment variable. Vercel → project → Deployments → ⋯ → Redeploy. |
| Build | Turning the code into a fast website. If a build fails, the previous version stays online. |
| Root Directory | The folder inside the repository that a Vercel project builds: frontend or admin-dashboard. |
| Environment variable | A named setting kept in Vercel (or in a .env file on your computer), such as the database address or the email password. |
.env / .env.local |
Files on your computer that hold environment variables. They are never uploaded to GitHub. |
| Domain / subdomain | example.com is a domain. shop.example.com and admin.example.com are subdomains of it. |
| Registrar | The company where you bought the domain (Namecheap, GoDaddy, Papaki, Cloudflare…). |
| DNS | The internet's address book. You add records there so your domain points to Vercel. |
| CNAME / A record | Two kinds of DNS record. A CNAME points a subdomain to another name; an A record points to an IP address. |
| TTL | How long the internet remembers a DNS record. Automatic is fine. |
| HTTPS / SSL | The lock in the address bar. Vercel creates it for free once the domain is connected. |
| Logs | Vercel's record of what the shop did, useful when something fails (for example emails). |
| Word | What it means |
|---|---|
| SMTP | The standard way programs send email through a mailbox. Your email provider gives you a server, a port, a user name and a password. |
| Resend | An email-sending service, an alternative to SMTP. |
Sender (EMAIL_FROM) |
The name and address customers see, for example My Shop <orders@myshop.gr>. |
| Spam folder | Where a first test email often lands. Mark it "Not spam". |
Shop terms
| Word | What it means |
|---|---|
| Variant | A pack size of a product (250 g, 1 kg, 750 ml, gift box), with its own price, SKU and stock. |
| SKU | Your own code for a variant, used for stock and invoices. |
| Volume price | A lower unit price from a quantity, for example from 6 bottles. |
| Document series | A numbering line for invoices or receipts, for example INV 1, 2, 3… Issued numbers never have gaps. |
| Draft / issued | A draft document can be edited or deleted. An issued one is final and can only be cancelled. |
| Post (purchase) | Confirms a supplier invoice and adds its quantities to stock. |
| Store style | A complete look (fonts, colours, corners, home page) chosen in the admin. |
| Section / template | A block of a page in the page builder, and the layout that applies to every page of one kind. |
| Sitemap / robots.txt | Files that tell search engines which pages exist. Opora creates them for you. |
| noindex | A note asking search engines not to list a page. Used for test and demo shops. |
| 2FA | Two-step sign-in: a code from your phone besides the password. Turn it on everywhere. |
Installation
This chapter takes you from the downloaded zip to a live shop on your own domain. Do the steps in order: each one uses something from the one before. Every step ends with a Check line so you know it worked before you move on.
Tip. Print the installation checklist and tick it as you go. Keep a text file open to note your shop's addresses as you create them. Never write passwords or keys there. Keep those in a password manager.
Before you start
1. Install on your computer
- Node.js 22 LTS or newer (24 LTS recommended), from nodejs.org. Needed only if you want to run the shop on your own computer (step 3), but useful to have. Check in a terminal with
node -v: it should showv22…orv24…. - Git, or GitHub Desktop if you prefer buttons to commands (desktop.github.com). On macOS, type
git --versionin Terminal; if Git is missing, macOS offers to install it. On Windows use git-scm.com. - A code editor. VS Code is free and has a built-in terminal.
2. Create three free accounts
- GitHub: choose a user name you are happy to keep. It appears in your repository's address.
- Vercel: choose Continue with GitHub. This lets Vercel see your repositories, which makes step 4 much simpler.
- Supabase: Continue with GitHub works here too.
Turn on two-step sign-in (2FA) on all three now. Whoever controls these accounts controls your shop.
3. Open a terminal in the Opora folder
Unzip the package. Inside it is the opora folder with admin-dashboard, frontend and supabase.
- VS Code (any system): File → Open Folder… → choose
opora→ Terminal → New Terminal. The terminal opens already inside the folder. - macOS Terminal: type
cd(with a space), drag theoporafolder into the window, press Enter. - Windows: open the
oporafolder in File Explorer, click the address bar, typepowershell, press Enter.
Check: typing ls (macOS/Linux) or dir (Windows) lists admin-dashboard, frontend and supabase.
⚠ Costs. The free plans are enough to install and test. A shop that sells will need paid plans on Vercel and (recommended) Supabase. See What you need, and what it costs.
Step 1 · Put the code on GitHub
Vercel publishes your shop from a GitHub repository, and every change you upload later is published automatically.
1.1 Create an empty repository
- On GitHub, click + (top right) → New repository.
- Repository name: for example
my-shop. - Choose Private.
- Leave Add a README, .gitignore and license empty or off. The package already has them.
- Click Create repository. Keep the page open: it shows your repository's address, for example
https://github.com/maria-shop/my-shop.git.
1.2 Upload the code: choose one way
Way A · Commands (in the terminal from Before you start):
git init
git add -A
git commit -m "Initial commit"
git branch -M main
git remote add origin https://github.com/YOUR-USERNAME/my-shop.git
git push -u origin main
⚠ Replace the placeholder. In the fifth line, put your own repository's address from 1.1.
YOUR-USERNAMEandmy-shopare only examples. If you already ran it with the placeholder, fix it withgit remote set-url origin <your address>and push again.
The first push asks you to sign in to GitHub. A browser window opens. Approve it there. If Git asks for a password, a GitHub password no longer works: use the browser sign-in or GitHub Desktop.
Way B · GitHub Desktop (no commands):
- File → Add Local Repository… → choose the
oporafolder. - It says this is not a Git repository yet: click create a repository, then Create Repository.
- Click Publish repository, keep Keep this code private ticked, and publish.
Way B creates the repository on GitHub itself, so if you use it you can skip 1.1 (or delete the empty one you made).
Check: refresh your repository page on GitHub. You see admin-dashboard, frontend, supabase and the other files. No file called .env should be there. The package's .gitignore keeps those files on your computer.
Step 2 · Create the database on Supabase
2.1 Create the project
- In Supabase, click New project. Choose your organisation if asked.
- Name: for example
my-shop. - Database password: click Generate a password and save it in your password manager. You will rarely need it, but it cannot be shown again.
- Region: the one closest to your customers. For Greece and most of Europe, Central EU (Frankfurt).
- Click Create new project and wait about two minutes until the project is ready.
2.2 Run the schema
- In the left menu open SQL Editor, then + New query (or New SQL snippet).
- On your computer, open
supabase/schema.sqlwith VS Code or any text editor. Select all (Ctrl/Cmd + A), copy, and paste it into the SQL Editor. - Click Run. If Supabase warns that the query contains destructive operations, confirm. The file only creates things, and it is safe to run again.
Check: the result says Success. No rows returned. In Table Editor you now see tables such as products, orders and store_settings.
2.3 Add the sample catalogue (optional)
To try the shop with products in it, open a new query, paste supabase/seed.sql and Run. Skip it if you want to start empty. You can delete the sample products later.
More sample content, each run the same way after seed.sql (all optional, all safe to run again):
supabase/demo/origins.sql: the products' origin in Greek and English.supabase/demo/filters.sql: sample shop filters (honey type, wine type…) with each product's values.supabase/demo/product-pages.sqlandsupabase/demo/product-stories.sql: a page of its own for 30 sample products (story, how to enjoy it, questions).
⚠ Never run
supabase/demo/demo.sqlon your real shop. It is only for a public demo, and its nightly reset deletes orders, customers and invoices. See Live demo.
2.4 Create your admin account
- Authentication → Users → Add user → Create new user.
- Your email and a strong password. Tick Auto Confirm User. Click Create user.
- New accounts start with the
customerrole, which cannot open the admin. Make yours an admin: in SQL Editor run this line, with your own email:
update public.profiles set role = 'admin' where email = 'you@example.com';
Check: the result says 1 row affected (or Success with 1 row). If it says 0, the email is spelled differently. Copy it from the Users list and run it again.
2.5 Copy the two keys
Open Project Settings (the gear icon). Depending on your dashboard's version:
- Data API (or API): copy the Project URL, which looks like
https://abcdefgh.supabase.co. - API Keys: copy the publishable key (
sb_publishable_…), or on the Legacy tab the anon public key (eyJ…). Either one works.
Paste both into your notes file. They are public by design: the database rules decide what they may do. Do not copy the service_role / secret key. Opora never uses it.
2.6 Recommended: close public sign-ups
Authentication → Sign In / Providers → Email: turn off Allow new users to sign up, so only accounts you create exist. Admin access is still only given by the role in 2.4; this is extra protection.
Step 3 · Run it on your computer (optional)
Optional Useful if you will change the code, or want to see changes before publishing. You can skip it. The shop works without it.
Each app has its own folder and its own settings file. In the terminal, inside opora:
cd admin-dashboard
cp .env.example .env
Open admin-dashboard/.env in your editor and fill in the two values from 2.5:
VITE_SUPABASE_URL=https://abcdefgh.supabase.co
VITE_SUPABASE_ANON_KEY=sb_publishable_...
npm install
npm run dev
Open http://localhost:5173 and sign in with your admin account. Leave this terminal running. Open a second terminal for the shop:
cd frontend
cp .env.example .env.local
Fill in frontend/.env.local with the same two values under these names, then start it:
NEXT_PUBLIC_SUPABASE_URL=https://abcdefgh.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=sb_publishable_...
npm install
npm run dev
Open http://localhost:3000. You are sent to /en or /el depending on your browser's language. Stop either app with Ctrl + C.
On Windows PowerShell, use copy instead of cp.
Step 4 · Publish on Vercel
You create two Vercel projects from the same repository: one for the shop, one for the admin. They differ only in the folder they build from.
4.1 The shop
- In Vercel: Add New… → Project. Find your repository and click Import. (If it is not listed, click Adjust GitHub App Permissions and allow Vercel to see it.)
- Project Name: for example
my-shop. - Root Directory → Edit → choose
frontend→ Continue. - Framework Preset shows Next.js by itself.
- Open Environment Variables and add these two (name on the left, value on the right):
| Name | Value |
|---|---|
NEXT_PUBLIC_SUPABASE_URL |
your Project URL |
NEXT_PUBLIC_SUPABASE_ANON_KEY |
your publishable / anon key |
- Click Deploy and wait about two minutes.
Check: you see a screenshot of the shop and an address such as my-shop.vercel.app. Open it: the home page appears (with the sample products if you ran seed.sql).
4.2 The admin
- Add New… → Project again, and import the same repository.
- Project Name: for example
my-shop-admin. - Root Directory:
admin-dashboard. Framework Preset shows Vite. - Environment variables:
| Name | Value |
|---|---|
VITE_SUPABASE_URL |
your Project URL |
VITE_SUPABASE_ANON_KEY |
your publishable / anon key |
- Deploy.
Check: open my-shop-admin.vercel.app, sign in with your admin account, and you see the dashboard.
4.3 Node.js version
In each project: Settings → Build and Deployment → Node.js Version → 24.x (or 22.x). Never an older version. If you change it, redeploy.
Environment variables are read during the build. Whenever you add or change one, go to the project's Deployments tab → ⋯ on the latest one → Redeploy. Until then the old value is still in use.
From now on, every push to main on GitHub rebuilds both projects by itself. If a build fails, the previous version stays online, so customers never see a broken shop.
Step 5 · Connect your domain
The usual setup is the shop on shop. or on the main domain, and the admin on admin.. The examples use shop.example.com and admin.example.com. Replace them with your own.
5.1 In Vercel
- Shop project → Settings → Domains → type
shop.example.com→ Add. - Vercel shows the DNS record it needs: usually a CNAME with a value such as
cname.vercel-dns.com(or a longer, project-specific value). Keep this page open. - Repeat in the admin project with
admin.example.com.
5.2 At your registrar
Add one record per subdomain, with exactly the values Vercel showed. The Host (or Name) is only the part before your domain:
| Type | Host | Value | TTL |
|---|---|---|---|
| CNAME | shop |
the value Vercel showed | Automatic |
| CNAME | admin |
the value Vercel showed | Automatic |
- Namecheap: Domain List → Manage → Advanced DNS → Add New Record.
- GoDaddy: My Products → your domain → DNS → Add New Record.
- Papaki and other Greek registrars: the domain's DNS management page. Some ask for the full name (
shop.example.com); if so, write it in full. - Cloudflare: DNS → Add record, and set the proxy to DNS only (grey cloud).
For the main domain itself (example.com) Vercel asks for an A record instead. Use the IP address it shows, with Host @.
5.3 Wait for verification
Usually 5–30 minutes, sometimes a few hours. Vercel's Domains page turns green and creates the HTTPS certificate by itself.
Check: https://shop.example.com and https://admin.example.com open, with the lock in the address bar.
5.4 Tell the shop its address
Admin → Settings → Shop address (URL): https://shop.example.com → Save. The admin uses it for the View shop button, the page-builder preview and the tracking emails. The shop uses it for the sitemap and links shared on social media.
Step 6 · Order emails
Recommended The shop can send the customer a confirmation for every order, send you an email for every new order, and send "on its way" (with the tracking link) or "ready for pickup" from the order page. Without these settings everything else works; the shop just sends no email.
Choose one way.
Way 1 · Your own mailbox (SMTP). Works with almost any business email: Namecheap Private Email, Google Workspace, Microsoft 365, your hosting's mailbox and more. Search for "your provider SMTP settings". For Namecheap Private Email they are server mail.privateemail.com, port 465, user = the full email address.
In Vercel → the shop project → Settings → Environment Variables add:
| Name | Example | |
|---|---|---|
SMTP_HOST |
mail.privateemail.com |
|
SMTP_PORT |
465 (or 587) |
|
SMTP_USER |
orders@example.com |
|
SMTP_PASS |
the mailbox password | mark it Sensitive |
EMAIL_FROM |
My Shop <orders@example.com> |
must be the same mailbox, or one of its aliases |
Google Workspace and Microsoft 365 usually refuse your normal password for SMTP. Create an app password in your account's security settings (two-step sign-in must be on) and use that as
SMTP_PASS.
Way 2 · Resend. Create an account at resend.com. Under Domains add your domain and add the DNS records it shows at your registrar, as in step 5. When it shows Verified, create an API key. In Vercel → shop project add RESEND_API_KEY (mark it Sensitive) and EMAIL_FROM, for example My Shop <orders@example.com> on the verified domain.
Optional for both: ORDER_NOTIFY_EMAIL, where new-order emails go. Empty means the contact email in Admin → Settings.
Then:
- Vercel → shop project → Deployments → ⋯ → Redeploy.
- Admin → Settings: fill in the contact email (customers' replies go there), the shop address (URL) and the language of emails to the shop. Save.
Check: place an order in your shop with your own email. You receive the confirmation, and the contact email receives the new-order email. If nothing arrives after two minutes, look in the spam folder, then in Vercel → shop project → Logs for lines starting with [email] (what they mean).
Step 7 · Search engines
The shop already gives search engines what they need: https://your-shop/sitemap.xml lists every page in both languages, robots.txt points to it, and every product page describes its price and stock to Google. Three steps remain:
- Admin → Settings → Search engines (SEO): write a short description of the shop in each language and choose an image for shared links (1200 × 630 px works best). Check that Show the shop in search results is on. Save.
- Google Search Console → Add property → URL prefix → your shop's address → verification method HTML tag. Copy the tag (or only the code inside
content="…"), paste it into Admin → Settings → Google Search Console code, save, wait a minute and press Verify in Google. Then open Sitemaps and submitsitemap.xml. - Optional: Bing Webmaster Tools can import your site from Google Search Console. Or use the HTML-tag method with the Bing Webmaster Tools code field.
Optional: Google Analytics ID (G-…) in the same settings. Visitors are asked for cookie consent before it runs.
Replace the small icon in the browser tab: frontend/src/app/icon.svg with your own logo in SVG (or delete it and add icon.png), then push.
Check that everything works
Before you start adding your own products, spend ten minutes on this test. It catches nearly every installation mistake.
- The shop opens on your domain, with HTTPS, in English (
/en) and Greek (/el). - The admin opens on its domain, and you can sign in.
- Admin → View shop opens your shop.
- Change the store style in Appearance → Shop and press Save to the shop: the shop changes within a minute.
- Add a product to the cart and complete an order with your own email.
- The order appears in Admin → Orders.
- The confirmation email arrives (if you set up emails).
- Set the test order to Cancelled. Do not issue an invoice for a test order: issued invoices cannot be deleted.
All ticked? Continue with Your first day in the admin.
Updating to a new version
Updates come as a new zip on CodeCanyon (Downloads). The Changelog says what changed and whether the database needs an update.
- Read the changelog of the new version first.
- Copy the new files over your folder. Unzip the update, and copy
frontend,admin-dashboard,supabaseanddocumentationover the ones in youroporafolder. Your.envfiles are not in the zip, so they stay as they are. If the changelog lists files that were removed, delete them from your folder too. If you changed code yourself, see Keep your changes when you update first. - Update the database, if the changelog says so. In Supabase → SQL Editor, run the new files from
supabase/migrations/, in the order of their numbers. They keep your data. (Running the whole newschema.sqlagain also works.) - Upload the update:
git status
git add -A
git commit -m "Update Opora to 2.x.x"
git push
With GitHub Desktop: write the summary "Update Opora to 2.x.x", Commit to main, Push origin.
- Check: both Vercel projects show a new deployment with a green Ready. Open the shop and the admin.
⚠ Before every commit,
git statusmust not list any.envfile. If it does, stop and check your.gitignore.
Before you go live
The shop works after the installation. This chapter is what turns a working installation into a shop you can safely sell from. Go through it once before your first real customer, and keep the before-launch checklist for the final tick.
Plans and accounts
- Vercel: the free Hobby plan is for personal, non-commercial use. Move the team to a paid plan (for example Pro) before you take real orders.
- Supabase: free projects are paused after a week without activity and have no daily backups. A paid plan (for example Pro) is recommended for a live shop.
- Email: check your provider's sending limit per hour or per day against the number of orders you expect.
- Domain: turn on auto-renew at your registrar. An expired domain takes the shop offline.
Prices and limits change. Check each provider's pricing page.
From sample data to your own
Start selling your own products. Hide or delete the sample products in Admin → Products (open a product → Visible in the shop off, or delete it), then add your own. Delete the sample categories in Products → Categories once they are empty.
Prefer a completely clean start? Create a new Supabase project, run only schema.sql (not seed.sql), create your admin account again, and change the two Supabase variables in both Vercel projects. Then redeploy both.
Replace every sample text. Opora comes with example content so that nothing looks empty. All of it must become yours:
- Website → Shipping and payment: the couriers, prices and tracking links are examples. Replace the bank-account placeholders in the bank-transfer and instant-payment instructions.
- Website → Pages: shipping, returns, terms, privacy, cookies and Our story are samples (see Legal pages).
- Website → Shop appearance: logo, banners, trust strip, footer, contact details, social links.
- Settings: shop details, company and VAT details, document series.
Turn off everything that belongs to a demo
NEXT_PUBLIC_DEMO_MODEmust not exist in the shop's Vercel project (or must befalse). In demo mode the shop sends no email and shows the demo bar.VITE_DEMO_EMAILandVITE_DEMO_PASSWORDmust not exist in the admin project. Delete the demo user in Supabase → Authentication → Users, if you made one.- Never run
supabase/demo/demo.sqlon a live shop. Its nightly reset deletes orders, customers and invoices. - Settings → Search engines: Show the shop in search results is on.
After you remove a variable, redeploy the project.
Security of keys and accounts
The setup from the installation is already safe. These are the habits that keep it safe.
1. Know which values are public and which are secret.
| Variable | App | Public or secret |
|---|---|---|
NEXT_PUBLIC_SUPABASE_URL, NEXT_PUBLIC_SUPABASE_ANON_KEY |
shop | Public. Built into the pages by design; the database rules decide what this key may do. |
VITE_SUPABASE_URL, VITE_SUPABASE_ANON_KEY |
admin | Public, for the same reason. |
SMTP_USER, SMTP_PASS, RESEND_API_KEY |
shop | Secret. Used only on the server, to send email. |
- Never give a secret a name that starts with
NEXT_PUBLIC_orVITE_. Values with these prefixes are copied into the code that the browser downloads. - Never put the Supabase
service_role/ secret key in the apps or in Vercel. Opora does not need it.
2. Keep secrets out of files and chats. .env files stay on your computer; git status must never list them before a commit. Do not send keys or passwords by email, chat or in a support request. Send a screenshot with the value hidden.
3. Use Vercel's protection. Mark secret variables as Sensitive (they can then only be replaced, never read back). Add people you trust only to your Vercel team and your GitHub repository.
4. Two-step sign-in (2FA) on GitHub, Vercel, Supabase, your registrar and your email. Whoever controls these accounts controls your shop.
5. If a secret leaks, replace it. Change the mailbox password, or create a new Resend key and delete the old one. Update the variable in Vercel and Redeploy. If you think someone has an admin password, delete that user in Supabase → Authentication → Users, create it again with a new password and give it the admin role again (step 2.4). Then check the roles with select email, role from public.profiles;.
6. Sign-out after inactivity. Admin → Settings → Security: choose how long the admin stays signed in without activity (30 minutes by default).
7. Back up. Paid Supabase plans keep daily backups. On any plan, export your data regularly from Admin → Reports → Export data, and keep the copy somewhere safe.
Test like a customer
- Place a test order for every delivery method and every payment method you offer, with your own email.
- Check each confirmation email: totals, shipping, the payment instructions, your bank details.
- Check the new-order email you receive as the shop.
- From one order, try Email the customer ("on its way" with a tracking number).
- Open the shop on your phone and buy from there too.
- Set every test order to Cancelled.
⚠ Do not issue invoices or receipts for test orders. Issued documents cannot be deleted, because their numbering must have no gaps. If you need to see an invoice, create a draft and delete it.
Legal pages and obligations
The sample pages (terms, returns, privacy, cookies) only show the structure such pages usually have. They are not legal advice and are not written for your business. Have them written or checked for your country and your products, and make sure they include your company details, your returns and withdrawal policy, and how you use personal data.
- Cookies: Google Analytics runs only after the visitor accepts the cookie banner. If you add other trackers in code, they must respect consent too.
- Alcohol: products marked Adults only ask buyers to confirm their age at checkout. Check what else your local law requires.
- Food information: origin, the 14 EU allergens and nutrition facts are shown when you fill them in. You are responsible for their accuracy.
- Invoices and receipts: Opora numbers and prints your documents. Whether they also have to be sent to a tax authority (in Greece, for example, through myDATA or a certified provider) depends on your country and business. Ask your accountant.
Questions and answers
Can I keep using the free plans while I build the shop? Yes. Upgrade when you are ready to take real orders.
Can the shop be on my main domain (example.com) instead of shop.?
Yes. Add example.com (and www.example.com) to the shop project in Vercel and follow the records it asks for: an A record for the main domain, a CNAME for www.
I already have a website on that domain. Will this break it?
Only the records you add or change move. Adding shop and admin records does not touch your existing site or your email. Do not change the MX records: they carry your email.
How long do changes in the admin take to appear in the shop? Up to about a minute. The shop keeps pages ready for speed and refreshes them every 60 seconds.
Can I move the shop to another Supabase project later?
Yes. Export your data first, run schema.sql in the new project, import the data, and change the two variables in both Vercel projects. This is a developer task. Plan it outside opening hours.
Admin guide
Everything you do in the admin, in the order of its menu. The admin is in English and Greek: switch with EN / ΕΛ at the top. View shop opens your shop in a new tab. The Appearance button (the sliders icon) changes how the admin looks to you, and the look of the shop for everyone.

Your first day in the admin
Do these once, in this order. Each one takes a few minutes.
- Settings → Store: shop name, tagline, contact email, phone, address and the shop address (URL).
- Settings → Company details on documents: legal name, VAT number, tax office, the VAT rates you use and the default one, and whether your prices include VAT.
- Settings → Document series: the series for invoices and receipts (for example
INVandREC) and the next number of each. If you are continuing from another system, start from your next real number. - Website → Shipping and payment: keep, change or delete the sample couriers and payment methods. Replace the bank details in the bank-transfer and instant-payment instructions.
- Appearance → Shop: choose the store style, the home page, the product page and the shop page layout.
- Website → Shop appearance: upload your logo; set the menu, the banners, the trust strip and the footer.
- Products: add your first real product with its photos (see Products).
- Website → Pages: rewrite the sample pages for your shop.
A day in the shop
This is how a typical order moves through the admin.
- A new order arrives. You get the new-order email, and the order appears at the top of Orders as Pending. The dashboard shows it among the latest orders.
- Confirm it. Check the products and the payment method. For a bank transfer, wait for the money and press Mark as paid. Change the status to Confirmed, then Preparing.
- Send it. Enter the courier's tracking number and set the status to Shipped. Press Email the customer to send "on its way" with the tracking link. For store pickup, set Ready and send "ready for pickup".
- Issue the document. On the order page, Create document makes a draft receipt or invoice with the products, shipping and payment charge already filled in. Check it and press Issue. Print / PDF gives you an A4 page to print or send.
- Close it. When the customer receives the parcel, set Delivered. For cash on delivery, mark it as paid when the courier pays you.
Once a week: look at low stock on the dashboard, enter your supplier invoices in Purchases so stock stays right, and glance at Reports.
Dashboard
Revenue and orders of the last 30 days compared with the 30 days before, active products, low-stock variants, a chart of sales and purchases per month, the latest orders and the products running low. Quick actions open the most common forms.
Orders

Every order from the shop appears here, newest first. Filter by status with the tabs at the top, and change the status straight from the list: pending → confirmed → preparing → ready / shipped → delivered, or cancelled.
Open an order to see its products, totals, customer, delivery and payment. From the order page you can:
- Change the status.
- Save a tracking number. The customer's email and order page link to the courier's tracking page.
- Email the customer: "on its way" with the tracking link, or "ready for pickup". Needs the shop address (URL) in Settings and order emails.
- Mark as paid / not paid, for example when a bank transfer arrives.
- Create document: a draft receipt or invoice from the order.
Cancelling an order does not return stock automatically. If the products go back on the shelf, correct the stock in the product editor.
Sales invoices and receipts

Drafts and issued documents. A draft can be edited and deleted. Issue gives it the next number of its series and locks it: an issued document can no longer be edited or deleted, only cancelled, so the numbering never has gaps. Print / PDF opens a clean A4 page; use the browser's print window to print or save it as PDF.
An invoice (not a receipt) needs the customer's name and VAT number. Business customers' details come from Customers.
Purchases and stock
Enter your suppliers' invoices with their own document number. Lines linked to a product variant can update its stock.
- Post locks the document and adds its quantities to stock. Every change is written to the stock-movement log.
- A credit note removes stock.
- Cancel reverses exactly the stock of a posted document.
- Attach the scanned document (PDF or image). It is kept privately: only staff can open it.
The due date is calculated from the supplier's payment terms, and Reports → Purchase charts shows what is still unpaid.
Customers and suppliers
Customers are created automatically from shop orders (one record per email), and you can add them by hand. Mark business customers with company name, VAT number and tax office, so you can issue invoices to them. A returning customer is matched by email, and the details you keep are never overwritten from the shop.
Suppliers keep contact details, VAT number, IBAN and payment terms in days.
Products

- All products: search, see stock per variant and whether each product is visible in the shop.
- Product editor: name, short and full description and origin in both languages, category, VAT rate, photos, the 14 EU allergens, nutrition per 100 g, and three switches: Visible in the shop, Featured on the home page, Adults only (alcohol: buyers confirm their age at checkout).
- Variants: each pack size (250 g, 1 kg, 750 ml, gift box…) has its own SKU, price, optional "was" price, stock and low-stock warning level, and optional volume prices (for example from 6 pieces at a lower unit price).
- Pairs well with: suggest other products on the product page, with a short note.
- Filters: tick this product's values for your own filters (see below).
- Build this product's page: extra sections only for this product. See Page builder.
Tip. Write the Greek and English texts at the same time. If one language is empty, the shop shows the English text.
Good product photos: the same shape for all products (square works everywhere), a plain light background, the product filling most of the frame. Upload the largest photo you have. The admin makes it light by itself.
Categories: name, description, photo and order in the menu. The number of products is a link to that category's products.
Filters

Products → Filters sets what visitors can filter by on the shop and category pages.
- Built-in filters (category, price, origin, availability, offers, allergens): rename them in both languages, reorder them with the arrows, or switch them off. Set your own price bands (for example 10, 25, 50).
- New filter: your own, such as Honey type or Wine type. Give it a name in both languages, choose whether visitors may tick several values, the categories it is for (none = everywhere), and its values. Then tick each product's values in the product editor.
In the shop, every value shows how many products it has, values without products are hidden, and the chosen filters stay in the page address, so a filtered list can be shared.
Media

All your images in one library. Upload JPG, PNG, WebP or AVIF (up to 30 MB). Before uploading, the admin turns each image into a light WebP file of at most 2000 px on the long side (a 3 MB photo usually becomes 200–400 KB). Only that file is stored; the original on your computer is not touched. Pick images from the library in the product editor, banners, sections and settings.
Reports and export

- Sales charts: revenue per week or month, best-selling products, sales per category, top customers, delivery versus pickup, for any period.
- Purchase charts: purchases per period, per supplier and per product, and what is still unpaid.
- Export data: orders, invoices, purchases, products, customers and suppliers to Excel, CSV or Google Sheets. Use it also as a regular backup.
Appearance of the shop

The Appearance button at the top opens a panel with two tabs. Admin changes only how you see the admin. Shop changes the shop for every visitor:
- Store style: Delicatessen (fresh green, rounded), Roastery (espresso and orange, bold capitals, square), Cellar (burgundy and brass, elegant serif), Apiary (field green and honey, warm serif) or Chocolatier (blush, cocoa and gold, classic serif).
- Home page: five compositions. Choosing a style also picks its home page; you can then pick another.
- Product page: Classic, Gallery, Editorial, Centred or Compact.
- Shop page and filters: Side filters, Filter bar or Filter drawer. On phones, filters always open as a drawer.
- Shop menu and theme for new visitors (light or dark).
Press Save to the shop. Visitors see the new design within about a minute.
Page builder

Website → Page builder builds the home page and the information pages from sections, with a live preview next to the editor.
- Page: choose the home page or an information page. A new home page starts as the home page of your store style. An information page written as text can be turned into sections with Build it with sections.
- Sections: click one to open its settings. Drag it by the dots (or use the arrows) to move it. The eye hides it without deleting it. Duplicate and Delete are at the bottom of its settings. Add section inserts a new one after the open section.
- The 15 section types: Hero (slider, split, full-width photo, photo with card, centred), Categories (tabs, tiles, chapters, cards, circles), Products (featured, newest, on offer, from a category or hand-picked; grid, carousel or price list), Product spotlight, Deal of the day, Trust strip, Text and image, Image banner, Quote, Text, Gallery, Video (YouTube, Vimeo or an .mp4 link), Questions & answers, Logos, Contact & map.
- Every text has an English and a Greek box. Each section has a background (none, white, soft, dark, accent) and the space above it.
- Colours & fonts: main colour, accent colour, page background, heading and text fonts, and corners, on top of the store style. Empty fields keep the style's values.
- Start from a store style replaces the page with one of the five ready-made home pages. Back to the style's home page removes your sections.
- Preview: computer, tablet or phone. Click anything in the preview to open its section. Nothing is public until you press Save.
Templates

The page list in the builder has a Templates group. A template applies to every page of its kind.
- Product page: the order of the details in the buying column (badges, name, short description, price and Add to cart, origin and allergens, description, nutrition), plus delivery methods, the trust strip and your own text. Below them: Product's own content, Pairs well with and From the same category. Add Recently viewed or any other section. The "Buy now" bar slides up once the price has scrolled out of view.
- Header: menu layout, logo position and links, which buttons show (search, wishlist, language, theme), a bar that stays at the top, and an announcement bar with up to three rotating messages.
- Footer: three styles (columns, centred, minimal), which parts it shows, payment-method icons, and sections above the footer on every page.
- One product's page: sections only for one product (its story, photos, a video, questions). Copy the sections of another product starts from one you have built.
- Shop & category pages: the top of the page, products per row, the product view (grid, list, compact grid) and which ones visitors may switch to, which filters show, sections above and below the products, and the product cards (photo shape, origin, pack sizes, wishlist heart).
- Cart: side drawer or full page, the free-delivery bar, suggestions, an order note, a gift message, the trust strip.
- Checkout: order note, preferred delivery time, trust strip and your own text. Name, contact, address, payment, the age check and the terms are always there, so every order is complete.
- Wishlist and Thank-you page: sections shown below them.
Website

- Shop appearance: logo or shop name and its position; menu layout and links; theme for new visitors; up to three home banners; the trust strip; deal of the day (a variant at a special price with a countdown, charged at that price only while it runs); the footer's texts, columns, contact details, opening hours and social links.
- Shipping and payment: delivery methods (courier or pickup) with price, free-delivery threshold, tracking link and description; payment methods (cash on delivery, cash at the shop, card, bank transfer, instant payment) with an optional extra charge, the delivery methods they work with, whether the order ships only after payment, and the instructions shown to the customer and in the email.
- Pages: information pages in both languages, written as simple text or built with sections, at the address
/p/page-address. Link them from the menu or the footer.
Card payments. The card payment method records that the customer will pay by card (for example with a POS on delivery or a payment link you send). Opora does not connect to an online card processor out of the box. A developer can add one; see the Developer guide.
Settings

- Store: shop name, tagline, contact email, phone, address, shop address (URL), and the language of emails to the shop.
- Search engines (SEO): description for search results, image for shared links, Google and Bing verification codes, Google Analytics ID, and the switch that hides the whole shop from search engines.
- Company details on documents: legal name, VAT number and tax office for documents, VAT rates, the default rate, and whether shop prices include VAT.
- Document series: code, name, type (invoice or receipt) and the next number of each.
- Security: sign out after a period without activity (15 minutes to 8 hours, or never). A minute before, a window lets you stay signed in.
Staff and roles
| Role | Can do |
|---|---|
| admin | Everything. |
| demo | See every page; every change is refused by the database. For showing the admin to someone. |
| customer | Nothing in the admin. The default for new accounts. |
To add a colleague: Supabase → Authentication → Users → Add user (Auto Confirm), then in SQL Editor:
update public.profiles set role = 'admin' where email = 'colleague@example.com';
To remove their access, set the role back to customer, or delete the user.
Customisation
Almost everything is changed from the admin, without code. This chapter tells you where each change is made, and when you actually need code.
Without code
| You want to change… | Where |
|---|---|
| Fonts, colours, corners, the whole look | Appearance → Shop (store style), then Page builder → Colours & fonts |
| Home page | Website → Page builder → Home page |
| Product page, shop pages, cart, checkout | Page builder → Templates |
| Header, announcement bar, footer | Page builder → Templates → Header / Footer, and Website → Shop appearance |
| Logo, menu, banners, deal of the day | Website → Shop appearance |
| Couriers, prices, payment methods and their texts | Website → Shipping and payment |
| Terms, returns, privacy, Our story | Website → Pages |
| Filters on the shop pages | Products → Filters |
| Shop name, emails, VAT, invoices, SEO | Settings |
If you are not a developer, you can stop here. Everything below means editing files and pushing them to GitHub.
When you need code
Developers For changes the admin does not offer: a new store style, different wording of a built-in text, an extra language, a new kind of section, an online card processor, a connection to your accounting software. Read Keep your changes when you update before you start, so that updates stay easy.
Colours and fonts in code
Each app keeps its design tokens in one place:
- Shop:
frontend/src/app/globals.css - Admin:
admin-dashboard/src/index.css
Change the values in the @theme { … } block (and the dark-theme block after it). Every component reads its colours from these variables, so one change updates the whole app.
Fonts come from Fontsource packages, served from the shop itself. To add one, install its package (for example npm install @fontsource-variable/open-sans inside frontend), import it in frontend/src/app/[locale]/layout.tsx, and use it in the --font-sans or --font-display value. Choose fonts that include Greek letters.
Store styles in code
The five store styles are at the end of frontend/src/app/globals.css, one block each (:root[data-preset="roastery"] { … } and its dark version). Each block sets the fonts (--font-sans, --font-display), the heading weight and case, the corners (--radius-card, --radius-btn, --radius-field, --radius-media) and the colours.
To add a style: copy a block under a new name, and add the name to PRESETS in frontend/src/lib/look.ts and in admin-dashboard/src/components/shell/ShopLookPanel.tsx (with its labels). Its ready-made home page is in TEMPLATES in frontend/src/lib/sections.ts (and the same file in the admin).
Texts and translations
| Texts of… | File |
|---|---|
| The shop (buttons, labels, messages) | frontend/src/lib/i18n.ts |
| The admin | admin-dashboard/src/i18n/strings.ts |
| The emails | frontend/src/lib/email/templates.ts |
Each file has an en and an el part with the same keys. Change the text and keep the keys. Your own content (products, pages, banners, sections) is not here: it is written in the admin.
Browser icon
Replace frontend/src/app/icon.svg with your own logo in SVG, or delete it and add icon.png (at least 512 × 512) in the same folder.
Developer guide
Developers How Opora is built, how data moves, and how to extend it without making updates painful. You should be comfortable with Git, TypeScript, React and SQL.
Stack
| Part | Technology |
|---|---|
Storefront frontend/ |
Next.js 15 (App Router, React Server Components), React 19, TypeScript, Tailwind CSS 4, Nodemailer |
Admin admin-dashboard/ |
React 19 single-page app, Vite, React Router, TypeScript, Tailwind CSS 4 |
Database supabase/ |
PostgreSQL on Supabase: Row Level Security, SQL functions (security definer), Auth, Storage |
| Hosting | Vercel (two projects from one repository), Node.js 22 or 24 |
There is no separate back-end server. Business rules live in the database; the shop's server code only renders pages, places orders through one SQL function and sends email.
Project structure
frontend/src/
├── app/
│ ├── [locale]/ pages per language: / · shop · category/[slug] · product/[slug]
│ │ offers · search · cart · checkout · wishlist · p/[slug] · preview
│ ├── api/checkout/ POST: place_order() + confirmation emails
│ ├── api/orders/[id]/notify/ POST from the admin: "on its way" / "ready" email
│ ├── api/look/ public demo only: demo shops and layouts (cookie)
│ ├── sitemap.ts · robots.ts · globals.css · icon.svg
├── components/
│ ├── sections/Sections.tsx renders every page-builder section
│ ├── shop/ cards, ShopBrowser (filters), Checkout, ProductBuy…
│ ├── product/ · cart/ · chrome/ (header, footer, consent, demo bar) · seo/
├── lib/ catalog, sections, look, i18n, pricing, seo, email/…
└── middleware.ts sends / to /en or /el by browser language
admin-dashboard/src/
├── pages/ one file per admin screen (Orders, ProductForm, PageBuilder…)
├── components/builder/ SectionList, SectionForm, TemplateEditors
├── components/shell/ layout, top bar, appearance panel
├── lib/ supabase client, sections (same file as the shop's), exporters…
└── i18n/strings.ts every admin text, en + el
frontend/src/lib/sections.ts and admin-dashboard/src/lib/sections.ts are the same file: the section and template types shared by the builder and the shop. Keep them identical.
How data moves
- Reading. Shop pages are server components that read with the public (anon) key, filtered by RLS to what a visitor may see. Pages are statically cached and revalidated every 60 seconds (
export const revalidate = 60), which is why admin changes take up to a minute. - Ordering. The checkout posts to
/api/checkout, which callsplace_order()with the anon key. The function re-reads prices, volume tiers, live deals, stock, delivery and payment rules and the age check inside one transaction, and returns the complete order. Prices from the browser are never trusted. Email failures never cancel an order. - The admin talks straight to Supabase with the signed-in user's session. RLS gives
adminfull access anddemoread-only access. Multi-table writes go through SQL functions (save_product,save_sales_invoice,save_purchase_invoice…), so each save is one transaction. - Admin → shop. The "on its way" email is sent by the shop: the admin calls
/api/orders/[id]/notifyon the shop address (Settings → Shop address), with the admin's access token, and the route checks the role before sending. - Images are converted to WebP in the browser, then uploaded to the public
product-imagesbucket. Supplier documents go to the privatepurchase-docsbucket, opened through links that expire after five minutes. - Translations are JSON per field,
{"en": "…", "el": "…"}. Missing translations fall back to English.
Local development
# admin, http://localhost:5173
cd admin-dashboard && cp .env.example .env && npm install && npm run dev
# shop, http://localhost:3000
cd frontend && cp .env.example .env.local && npm install && npm run dev
Both point at the same Supabase project. Use a separate development project (its own schema.sql + seed.sql) rather than your live database. Production builds: npm run build in each folder; npm run preview (admin) or npm start (shop) to serve them.
Node.js 22.12 or newer is required (engines in both package.json files).
Environment variables
Shop (frontend, Vercel project with Root Directory frontend)
| Variable | Required | Purpose |
|---|---|---|
NEXT_PUBLIC_SUPABASE_URL |
yes | Supabase Project URL |
NEXT_PUBLIC_SUPABASE_ANON_KEY |
yes | Publishable / anon key |
NEXT_PUBLIC_SITE_URL |
no | The shop's public address for the sitemap and links. Empty: Settings → Shop address, then the Vercel domain. |
SMTP_HOST, SMTP_PORT, SMTP_USER, SMTP_PASS |
no | Email through any mailbox. SMTP_SECURE overrides SSL (default: on for port 465). |
RESEND_API_KEY |
no | Email through Resend, used when SMTP_HOST is empty |
EMAIL_FROM |
with email | Sender, for example My Shop <orders@example.com> |
ORDER_NOTIFY_EMAIL |
no | Where new-order emails go. Empty: Settings → contact email. |
SHOP_TIMEZONE |
no | Time zone of dates in emails. Default Europe/Athens. |
NEXT_PUBLIC_DEMO_MODE |
no | true only for a public demo: demo bar, demo shops, no email |
NEXT_PUBLIC_DEMO_ADMIN_URL |
no | Demo only: link to the demo admin in the demo bar |
Admin (admin-dashboard)
| Variable | Required | Purpose |
|---|---|---|
VITE_SUPABASE_URL |
yes | Supabase Project URL |
VITE_SUPABASE_ANON_KEY |
yes | Publishable / anon key |
VITE_STOREFRONT_URL |
no | The shop's address for View shop and the builder preview. Empty: Settings → Shop address. |
VITE_DEMO_EMAIL, VITE_DEMO_PASSWORD |
no | Public demo only: show the demo login on the sign-in screen |
NEXT_PUBLIC_* and VITE_* values are compiled into browser code. Never use these prefixes for secrets. Changes take effect after a rebuild (Redeploy).
Keep your changes when you update
Updates arrive as a full zip, not as a patch. If you change the code, keep an untouched copy of Opora on its own branch, so Git can merge each new version into your work.
Once, right after the first commit and before your own changes:
git branch opora-original
If you have already made changes, start the branch from your first commit instead:
git branch opora-original $(git rev-list --max-parents=0 HEAD)
On every update:
git switch opora-original
# copy the new version's folders over the project, exactly as in a normal update
git add -A
git commit -m "Opora 2.x.x"
git switch main
git merge opora-original # resolve any conflicts, then commit
git push
Tips that keep conflicts small:
- Put new code in new files (new components, new
lib/modules) and import them, rather than editing large existing files. - Change texts in the
i18nfiles rather than in components. - Never edit
supabase/schema.sqlfor your own tables. Write your own SQL file (for examplesupabase/custom/001_my_change.sql), keep it in the repository and run it after Opora's migrations.
Add a language
- Shop: add the code to
localesinfrontend/src/lib/i18n.tsand add a dictionary for it, following theelone. Add the email texts infrontend/src/lib/email/templates.ts. The middleware and the language links pick up the new code fromlocales. - Admin: add a dictionary in
admin-dashboard/src/i18n/strings.tsand add it todictionaries; add it to the options insrc/components/LanguageSwitcher.tsxand the language buttons insrc/components/shell/Topbar.tsx; extend theLocaletype insrc/lib/types.ts. - Content: product names, categories, banners and pages are stored per language, for example
{"en": "Coffee", "el": "Καφές", "de": "Kaffee"}. Until the admin forms have a box for the new language, fill it in through Supabase → Table Editor, or extend the forms.
Add a section type
A section is a JSON object with id, type and its settings, stored in store_settings.home_sections, pages.sections, products.sections or inside store_settings.templates.
- Type. In
lib/sections.ts(both copies): add the name toSECTION_TYPES, write its interface (interface MySection extends Base { type: 'my_section'; … }), add it to theSectionunion, and give it defaults innewSection(). - Render. In
frontend/src/components/sections/Sections.tsx, add acase 'my_section':that returns your component. UseTrtexts with the page's locale, and the section'sbg/spacelike the others. - Form. In
admin-dashboard/src/components/builder/SectionForm.tsx, add acase 'my_section':with its fields (thetr()helper makes an English + Greek pair of boxes). - Labels. In
admin-dashboard/src/i18n/strings.ts, add the name totypesand a one-line description totypeHelp, inenandel.
The builder's preview renders the shop itself, so once step 2 works the preview shows it too. If the section only makes sense on a product page, add it to PRODUCT_ONLY.
Emails
Templates are in frontend/src/lib/email/templates.ts (orderConfirmation, shopNotification, orderOnItsWay), sending in lib/email/send.ts (SMTP through Nodemailer, otherwise Resend's HTTP API). The shop's details come from lib/email/store.ts. Emails are plain, inline-styled HTML with a text version, in the customer's language (orders) or the language set in Settings (emails to the shop).
Payments and integrations
Opora records the payment method and its status; it does not connect to a card processor out of the box. To add one (Stripe, Viva Wallet, PayPal…), a typical approach is:
- Add a payment method of type
cardin the admin as usual. - In
/api/checkout, afterplace_order()succeeds, create the processor's checkout session for the returned order number and total, and return its URL to the checkout page to redirect. - Add a webhook route (for example
app/api/payments/webhook/route.ts) that verifies the processor's signature and marks the order paid. That route needs a server-only key, so do it through asecurity definerSQL function that checks a shared secret, never with theservice_rolekey in the browser.
The same pattern (a server route plus a narrow SQL function) suits accounting or e-invoicing connections.
Database: tables
Everything is created by supabase/schema.sql. Translatable text is JSON with one key per language.
| Table | Holds |
|---|---|
profiles |
One row per login, with its role (admin, demo, customer). Created automatically with each user. |
store_settings |
One row (id 1): shop details, currency, VAT, appearance, templates, SEO, home sections, idle sign-out. |
categories |
Slug, name, description, image, order. |
products |
Names, descriptions, origin (origin_i18n), allergens, nutrition per 100 g, images, flags (active, featured, age-restricted), VAT rate, own sections. |
product_variants |
Sellable units: label, SKU, price, sale price, stock, low-stock level, last cost. |
price_tiers |
Volume prices per variant: from min_qty, unit_price. |
filters, filter_values, product_filter_values |
The shop's own filters, their values, and each product's values. |
product_pairings |
"Pairs well with" links, with a note. |
customers / customer_stats |
Customers (one per email; retail or business) and a view with order count, total spent and last order. |
suppliers |
Contact, VAT number, IBAN, payment terms. |
orders / order_items |
Orders (number from 1001, status, fulfilment, totals, copies of the chosen delivery and payment method, payment status, tracking) and their lines with name and price as sold. |
shipping_methods / payment_methods |
Delivery and payment options with prices, thresholds, fees, rules and instructions. |
banners, deals, pages |
Home banners, deals of the day, information pages. |
invoice_series, sales_invoices, sales_invoice_lines |
Document series, sales documents and their lines. |
purchase_invoices, purchase_invoice_lines, stock_movements |
Supplier documents, their lines, and every stock change with its reason. |
Allergen codes follow the 14 allergens of EU Regulation 1169/2011: gluten, crustaceans, eggs, fish, peanuts, soy, milk, nuts, celery, mustard, sesame, sulphites, lupin, molluscs. Nutrition keys: energy_kcal, fat_g, saturates_g, carbs_g, sugars_g, protein_g, salt_g.
Database: security
Row Level Security is on for every table.
| Who | Can |
|---|---|
Visitor / customer |
Read active categories, products, variants, tiers, pairings, filters, published pages, banners, running deals and the public settings. Place orders only through place_order(). Cannot read customers or orders. Cannot open the admin. |
demo |
Read everything the admin shows. Every insert, update and delete is refused. |
admin |
Everything. |
The storage bucket product-images is public to read; only admins write. purchase-docs is private to staff.
Database: functions
| Function | Does |
|---|---|
place_order(items, customer, p_fulfillment, …, p_shipping_method, p_payment_method) |
One transaction: checks every variant is active and in stock, charges the lowest of normal price, volume price and live deal, checks the age confirmation, the delivery/payment combination and the address, adds shipping (free over the threshold) and the payment fee, saves the order, reduces stock, matches or creates the customer. Returns the whole order with the payment instructions. |
save_product(p) |
Creates or updates a product with its variants and volume prices in one transaction. Variants missing from the list are deleted (past orders keep their own copy). Admins only. |
save_sales_invoice(p, issue) |
Saves a draft; with issue = true gives it the next number of its series under a lock, so numbers have no gaps or duplicates. Issued documents can only change paid, paid_at, payment_method, notes. |
cancel_sales_invoice(id) |
Cancels an issued document. Cancelled documents cannot be reopened. |
create_invoice_from_order(order_id) |
A draft from an order, shipping included. Calling it again returns the same document. |
recalc_sales_invoice(id) |
Server-side totals, rounding each line to the cent. |
save_purchase_invoice(p, post) |
Saves; posting adds (credit note: removes) stock, sets last_cost and writes stock_movements. |
cancel_purchase_invoice(id) |
Reverses exactly the stock movements of that document. |
Example call of the checkout function:
select public.place_order(
items => '[{"variant_id":"…","quantity":2}]',
customer => '{"email":"…","full_name":"…","phone":"…","address":{"street":"…","city":"…","postcode":"…"}}',
p_fulfillment => 'delivery',
p_notes => 'Ring twice',
p_locale => 'en',
p_shipping_method => '…',
p_payment_method => '…'
);
Database: JSON settings
| Column | Holds |
|---|---|
store_settings.appearance |
Logo, menu layout and links, theme for new visitors, trust strip, footer; look (store style and layouts) and look.custom (builder colours and fonts). |
store_settings.templates |
Builder templates: product, shop, card, cart, checkout, wishlist, thanks, header, footer. Empty fields use the defaults in cleanTemplates(). |
store_settings.home_sections, pages.sections, products.sections |
Page-builder sections (see lib/sections.ts). Empty = the style's home page, the page's text, or nothing. |
store_settings.seo |
description, share_image, google_verification, bing_verification, index (false hides the shop from search engines). |
store_settings.admin_idle_minutes |
Idle sign-out in minutes (0 = never). |
Database: updates
schema.sql always creates the complete database of its version, so a new installation never needs anything else. When a version changes the database, it adds a numbered file to supabase/migrations/ and says so in the changelog. Existing shops run the new files in order in the SQL Editor; they keep the data. Running the newer schema.sql again is also safe.
Live demo (optional)
A public demo lets people try your shop and a read-only admin before they buy from you, or lets you show the system to a client. It has sample orders, invoices and customers, and cleans itself every night.
⚠ Use a separate Supabase project for the demo, never your real shop. The demo script deletes every order, invoice, purchase, customer and supplier each night.
1 · A separate copy
Install a second copy exactly as in Installation: a new Supabase project with schema.sql and seed.sql, your administrator account, and two new Vercel projects from the same repository. Add products and photos as usual.
2 · The demo account
- Supabase → Authentication → Users → Add user → Create new user. Email, for example
demo@yourdomain.com; a simple password, for exampledemo1234; tick Auto Confirm User. - Open
supabase/demo/demo.sqland change the linevalues ('demo@example.com', 'demo1234')to the same email and password.
3 · Sample data and the nightly reset
- Supabase → Integrations → Cron → Enable.
- SQL Editor → paste the whole
supabase/demo/demo.sql→ Run. It makes the demo account read-only and schedules two jobs: the reset every night at 01:00 UTC, and an hourly check that restores the demo password if a visitor changes it. - Fill the demo now: run
select demo.reset();. It answers with a line such as "Demo reset … 5 suppliers, 25 purchases, 26 customers, 140 orders, 119 sales documents".
The sample data covers the last four months: orders in every status, receipts and invoices with consecutive numbers, supplier purchases that raise stock, two products running low and a deal of the day that is always on. The people and companies are invented; their emails end in example.com, which never receives mail. To change them, edit the lists at the top of demo.reset() in demo.sql and run the file again.
4 · Vercel settings
Shop project → Settings → Environment Variables
| Name | Value |
|---|---|
NEXT_PUBLIC_DEMO_MODE |
true: shows a demo bar and sends no email, whatever email settings exist |
NEXT_PUBLIC_DEMO_ADMIN_URL |
the demo admin's address, for example https://admin-demo.yourdomain.com |
Admin project → Settings → Environment Variables
| Name | Value |
|---|---|
VITE_DEMO_EMAIL |
the demo account's email |
VITE_DEMO_PASSWORD |
its password |
The sign-in page then shows the demo email and password with a one-click button. Redeploy both projects.
5 · Demo shops and layouts

In demo mode the demo bar also lists five demo shops (Delicatessen, Coffee roastery, Wine cellar, Honey & olive oil, Chocolatier) and a Layouts menu for the product page, shop page and menu. Each demo shop shows its own style, home page and categories (DEMO_SHOPS in frontend/src/lib/look.ts). A visitor's choice is kept in a cookie for a week, only for them. For the demo shops to look full, run seed.sql and give each product a photo.
6 · Keep it out of search engines
Sign in to the demo admin as the administrator → Settings → Search engines → turn off Show the shop in search results → Save.
Visitors can then see every admin page without saving anything, and can place orders in the shop; their orders stay until the night's reset.
Checklists
Three lists to print and tick. Each Print button prints only its own list. You can also tick the boxes here: they are remembered in this browser.
Installation checklist
Accounts
- GitHub account, with two-step sign-in
- Vercel account, signed in with GitHub, with two-step sign-in
- Supabase account, with two-step sign-in
GitHub
- Private repository created
- Code uploaded:
admin-dashboard,frontend,supabasevisible - No
.envfile in the repository
Supabase
- Project created, region chosen, database password saved in a password manager
-
schema.sqlrun: "Success. No rows returned." - (optional)
seed.sqland thesupabase/demo/sample files run, notdemo.sql - Admin user created with Auto Confirm
- Role set to admin: "1 row affected"
- Project URL and publishable/anon key copied
- Public sign-ups turned off
Vercel
- Shop project: Root Directory
frontend, twoNEXT_PUBLIC_SUPABASE_…variables, deployed - Admin project: Root Directory
admin-dashboard, twoVITE_SUPABASE_…variables, deployed - Node.js version 22.x or 24.x in both
- Signed in to the admin on its
.vercel.appaddress
Domain
-
shop.domain added in the shop project, CNAME added at the registrar -
admin.domain added in the admin project, CNAME added at the registrar - Both green in Vercel, both open with HTTPS
- Admin → Settings → Shop address (URL) filled in
Email and search engines
- SMTP or Resend variables added,
SMTP_PASS/RESEND_API_KEYmarked Sensitive - Shop project redeployed
- Test order: confirmation and new-order email received
- SEO description and share image set
- Google Search Console verified,
sitemap.xmlsubmitted
Before you open the shop
Plans and accounts
- Vercel on a plan that allows commercial use
- Supabase on a paid plan (recommended) or a plan for regular backups
- Domain auto-renew on
- Two-step sign-in on GitHub, Vercel, Supabase, registrar and email
Your content
- Sample products and categories hidden or deleted
- Your products: photos, both languages, VAT rate, allergens and origin where they apply
- Stock entered for every variant
- Logo, banners, trust strip, footer and contact details are yours
- Terms, returns, privacy and cookie pages written for your business and checked
- Bank details in the payment instructions are yours
Settings
- Store details, company name, VAT number and tax office
- VAT rates and "prices include VAT"
- Document series and their next numbers
- Delivery methods, prices and free-delivery thresholds
- Tracking links checked with each courier
- Payment methods and which delivery methods they work with
- Show the shop in search results: on
Demo settings off
- No
NEXT_PUBLIC_DEMO_MODEin the shop project - No
VITE_DEMO_EMAIL/VITE_DEMO_PASSWORDin the admin project - No demo user in Supabase,
demo.sqlnever run on this project
Final test
- One test order per delivery and payment method, from a computer and a phone
- Emails correct: totals, instructions, bank details
- "On its way" email with a tracking number tried
- All test orders set to Cancelled, no documents issued for them
Monthly maintenance
- Export your data: Admin → Reports → Export data, kept somewhere safe
- Supabase: project active, usage within your plan, backups present (paid plans)
- Vercel: the latest deployments are Ready, no errors in the shop's Logs
- Emails still arrive: place one small test order or check the latest new-order email
- Look for an Opora update on CodeCanyon (Downloads) and read its changelog
- Update when one is out (how), including any database update
- Low-stock products and stock of best sellers checked
- Sales documents: no drafts left that should have been issued
- Unpaid supplier invoices checked (Reports → Purchase charts)
- Staff with access: anyone who left has been removed (Supabase roles, Vercel, GitHub)
- Domain and paid plans: renewal dates and payment cards up to date
- Google Search Console: no new errors on pages or products
Troubleshooting
Find the symptom, then try the fixes in order. Most problems come from a variable with a wrong name or value, or from a change that was not redeployed.
Tip. The three questions that solve most problems: Is the variable's name spelled exactly as in this documentation? Did you Redeploy after changing it? Is it in the right Vercel project (shop or admin)?
Installation and GitHub
git push asks for a password, and my GitHub password is refused.
GitHub no longer accepts passwords for Git. Let Git open the browser to sign in, or use GitHub Desktop (Way B in step 1).
remote origin already exists.
You ran git remote add twice. Use git remote set-url origin https://github.com/YOUR-USERNAME/YOUR-REPO.git with your real address.
repository not found when pushing.
The address still contains the placeholder, or the repository name is spelled differently. Copy the address from the GitHub page and use git remote set-url origin ….
npm or node "command not found".
Node.js is not installed, or the terminal was open before you installed it. Close the terminal, open a new one, and check node -v.
Supabase
The schema shows an error when I run it. Make sure you pasted the whole file: select all in your editor before copying. Run it in a new, empty query. If the error mentions something that "already exists", run the file again: it is designed to run more than once.
The role query says "0 rows". The email in the query is not exactly the one in Authentication → Users. Copy it from there.
My free Supabase project is "paused". Free projects pause after a week without activity. Open the project in Supabase and press Restore. For a live shop, use a paid plan.
Vercel and building
The build fails with "No Next.js version detected" or "Could not find package.json".
The Root Directory is wrong. It must be exactly frontend (shop) or admin-dashboard (admin): Settings → Build and Deployment → Root Directory.
The build fails mentioning the Node.js version or engines.
Settings → Build and Deployment → Node.js Version → 24.x or 22.x, then Redeploy.
I changed a variable, but nothing changed. Variables are read during the build. Deployments → ⋯ → Redeploy.
Refreshing an admin page shows 404.
The admin-dashboard/vercel.json file must be in the repository. Check it was uploaded, then redeploy.
Domain
The domain stays "Invalid Configuration".
Check that the Host is only the part before your domain (admin, not admin.example.com) unless your registrar asks for the full name, that the value is exactly what Vercel shows, and that there is no other record (A, CNAME or AAAA) with the same Host. Then wait: changes can take up to a few hours.
It works on www but not without it (or the opposite).
Add both addresses to the shop project in Vercel. Vercel offers to redirect one to the other.
Cloudflare: too many redirects. Set the record's proxy status to DNS only (grey cloud).
Admin
The admin says "Connect Supabase to continue".
The two VITE_SUPABASE_… variables are missing or misnamed in the admin project (or in admin-dashboard/.env on your computer). Fix them and redeploy (or restart npm run dev).
I can sign in, but the admin says the account has no access.
The account still has the customer role. Run the role query from step 2.4.
"Invalid login credentials". Wrong email or password, or the user was not confirmed. In Supabase → Authentication → Users the user must not show Waiting for verification. If it does, delete it and create it again with Auto Confirm User ticked.
The admin signs me out by itself. That is the idle sign-out. Change the time in Settings → Security.
View shop or the builder preview does not open my shop.
Fill in Settings → Shop address (URL) with the full address, including https://.
Shop
The shop shows no products.
Either seed.sql was not run and you have no products yet, or the products are not Visible in the shop, or they have no category, or their variants have no price.
Changes in the admin don't appear in the shop. Pages refresh every 60 seconds. Wait a minute and reload. For the design, press Save to the shop (Appearance) or Save (Page builder).
Checkout says "Choose a delivery method" or "Choose a payment method". At least one delivery method and one payment method must be active, and the payment method must be allowed for the chosen delivery method: Website → Shipping and payment.
A product can't be ordered: "Not enough stock for …". The variant's stock is lower than the quantity. Enter stock in the product editor, or post a purchase invoice.
The shop shows a demo bar.
NEXT_PUBLIC_DEMO_MODE exists in the shop project. Delete it and redeploy.
Emails
First check the spam folder. Then open Vercel → shop project → Logs, place a test order, and look for lines starting with [email].
| Log says | Meaning and fix |
|---|---|
Invalid login / 535 / authentication failed |
Wrong SMTP_USER or SMTP_PASS. Google and Microsoft need an app password. |
Sender address rejected / not owned by user |
EMAIL_FROM is not the same mailbox as SMTP_USER (or one of its aliases). |
ETIMEDOUT / ECONNECTION |
Wrong SMTP_HOST or port. Try 465; if your provider says so, 587. |
domain is not verified (Resend) |
Finish the domain verification in Resend, or use an EMAIL_FROM on the verified domain. |
no [email] line at all |
No email variables in the shop project, the project was not redeployed, or demo mode is on. |
The customer gets emails, but I don't.
New-order emails go to ORDER_NOTIFY_EMAIL, or to the contact email in Settings. Check that one of them is filled in.
The "on its way" button fails. Settings → Shop address (URL) must be your shop's real address, and the shop project must have the email variables.
Getting more help
If none of these helps, see Support. Include what you did, what you expected and what you saw, with screenshots (hide any keys or passwords).
Support, credits and changes
Support
Support is given through the Support tab of the item page on CodeCanyon, by TechPortEvolution. Before you write:
- Search this documentation (the search box at the top of the menu).
- Read Troubleshooting.
- Check that you have the latest version (see the changelog below).
When you write, include:
- your Opora version (in
CHANGELOG.md) - what you did, what you expected, and what happened
- screenshots of the error, and the related lines of Vercel's Logs if any
⚠ Never send passwords, API keys,
.envfiles or backup codes, and do not paste them into comments. Nobody from support will ever ask for them. If we need to see a setting, a screenshot with the value hidden is enough.
What support covers: questions about Opora's features, help with the installation steps in this documentation, and fixing bugs in Opora.
What it does not cover: changes to the code or new features made for you, problems caused by code you changed, setting up or paying for third-party services, and legal, tax or accounting advice.
Licence
Opora © Techport Evolution. Your rights are set by the licence you bought on CodeCanyon:
- Regular Licence: one end product (one shop) for you or one client, where the end users are not charged for the end product itself.
- Extended Licence: one end product that may be sold or charged for.
Full terms: codecanyon.net/licenses/standard.
Credits
Opora is built with these open-source projects. Each keeps its own licence, installed with it under node_modules/.
| Used in | Package | Licence |
|---|---|---|
| Shop | Next.js | MIT |
| Shop, admin | React and React DOM | MIT |
| Shop, admin | Supabase JS | MIT |
| Shop | Nodemailer | MIT-0 |
| Admin | React Router | MIT |
| Admin | write-excel-file | MIT |
| Admin | Vite and @vitejs/plugin-react | MIT |
| Shop, admin | Tailwind CSS | MIT |
| Shop, admin | TypeScript | Apache-2.0 |
Fonts, served from the shop through Fontsource, under the SIL Open Font License 1.1: Manrope, Inter, Commissioner, Sofia Sans, Literata, EB Garamond and Noto Serif Display.
Icons: simple stroke icons drawn for Opora; some follow the shapes of Feather Icons (MIT) and Lucide (ISC).
Photos: the product and banner photos of the live demo are not included. They were created for the demo with Adobe Firefly. The sample catalogue works without photos.
Services: Supabase, Vercel, and optionally Resend or your mailbox, and Google Analytics, are your own accounts, under their own terms. They are not part of this item.
Changelog
Version 2.0.0: first release
The first public version of Opora. New installations need only supabase/schema.sql (and, for the sample catalogue, supabase/seed.sql and the files in supabase/demo/).
- Page builder: home page and information pages from 15 section types; templates for the product page, shop and category pages, product cards, cart, checkout, wishlist and thank-you page; header and footer settings with an announcement bar; a page of its own for any product; colours and fonts on top of the five store styles; live preview at computer, tablet and phone width.
- Shop: five store styles, five product page layouts, shop pages with filters in three layouts and three product views, English and Greek, light and dark theme, variants and volume prices, deal of the day, origin, allergens and nutrition, age check for alcohol, delivery and payment methods with their own rules, order emails, SEO and Google Analytics with cookie consent.
- Admin: dashboard, orders with tracking and customer emails, sales invoices and receipts with gapless numbering, purchases that update stock, customers and suppliers, products with filters, media library with WebP conversion, reports and export, settings, roles, idle sign-out.
- Security by design: prices, deals, stock, delivery and payment rules are always checked in the database when an order is placed.
The full list is in CHANGELOG.md.