Supabase Edge Functions

Backend

Supabase Edge Functions are TypeScript server functions running on Deno, and I use them for logic that must not run in the browser.

How I use Supabase Edge Functions

That includes price calculation, inquiry handling, payment webhooks and anything that uses secret keys.

You get a more secure site, because prices, discounts and API keys can't be seen or changed from the browser. There's no server to maintain or upgrade: a function runs when a request arrives and uses no resources the rest of the time.

In practice each function does one job: calculating a price from the selected options, receiving and forwarding an inquiry, or processing a message from a payment provider. Before processing, I check who sent the request and whether the data is valid, and I keep secret keys in the project settings, not in the code.

I use them with the Supabase database and Supabase Auth as the server side for React and Next.js apps that don't need a separate backend.

Used in: gradovi.rs (25 server functions), Laser Wood configurator (price calculation and inquiries), BrzoJelo.

Projects using Supabase Edge Functions

Websites and apps I built where Supabase Edge Functions was used.

  • gradovi.rs — Business Directory with Microsites

    gradovi.rs — Business Directory with Microsites

    My own platform: a business directory for the cities and municipalities of Serbia. A business signs up and gets its own microsite with a description, gallery, opening hours and contact form, and visitors find it by searching by city and category. Besides the free tier there are paid plans with more photos, reviews, visit analytics and a featured spot in the category, with up to 35% off for paying in advance. It has an admin panel for businesses, moderated reviews, invoices and payment processing. About 310 indexed pages, built with React and Supabase with 25 server functions.

  • Laser Wood Design — Price Configurator and Storefront

    Laser Wood Design — Price Configurator and Storefront

    A website with a configurator for Laser Wood Design from Pančevo, Serbia, a workshop making laser-engraved signs, keychains and 3D letters. The customer picks the material, size, model and LED lighting, sees a live preview of the sign and gets the price instantly, then sends an inquiry and downloads a PDF quote. The price is calculated on the server, so it always matches the workshop's price list. From the admin panel the owner manages materials and prices, the gallery, reviews and FAQ and tracks incoming inquiries. Built with React and Supabase, with automated tests and code checks on every change.

  • BrzoJelo — QR Ordering, Kitchen and Delivery for Restaurants

    BrzoJelo — QR Ordering, Kitchen and Delivery for Restaurants

    My own platform for small restaurants and fast food. A guest scans the QR code on the table and, with nothing to install, browses a menu with photos, allergens, sizes and extras, orders and follows the order status live. The kitchen works from a screen with cards by status, and staff sign in with a PIN. For delivery there is a driver panel, GPS tracking on a map, chat and a photo as proof of delivery. From the admin panel the owner manages the menu, QR codes for every table, stock, analytics with PDF and CSV export and an activity log. The core is free and other modules are switched on as needed. Built with Next.js and Supabase.

Frequently asked questions about Supabase Edge Functions

What are Supabase Edge Functions?

Supabase Edge Functions are server functions written in TypeScript that run on Deno on Supabase's infrastructure. They're called over HTTP and handle logic that has to stay on the server, such as calculations, webhooks and work with secret keys.

When should you use Edge Functions instead of querying from the browser?

Use Edge Functions whenever logic or a key must stay hidden from the user. Examples are price calculation, receiving payment webhooks, sending emails and calling external APIs with a secret key; plain reads of data protected by RLS rules can go directly from the browser.

Do you build server functions on Supabase?

Yes, I use Edge Functions for calculations, inquiries and webhooks. For example, gradovi.rs has 25 server functions, the Laser Wood configurator uses them to calculate prices and send inquiries, and I've also used them in BrzoJelo.

How much does a website or app built with Supabase Edge Functions cost?

It depends on the type of project: Custom Web Application from €500; Price Configurator for Your Website from €410; Digital QR Menu from €40. These are starting prices; you get the final price and timeline in a written offer by email.

All skills →