Ekklesias - Member Registration for Churches
Someone taps a card or scans a code, introduces themselves in a minute and chooses what to share. The church team learns who arrived, who invited them and how they want to hear back.

1. Overview
Ekklesias is a membership register for churches, built so that nobody who walks in gets lost between the first visit and the first hello. It keeps the person, the permissions they gave and the link to whoever invited them.
I designed and built it as one platform for several churches. Visitors never create an account: they register from a phone and later change their choices through a link. Only the church team signs in.
2. The Problem
⚠️ The Problem
- People arrive because someone invited them, and that connection is easy to lose
- Church membership is special category data under Article 9 of the GDPR, so a spreadsheet of names is a real liability
- Permission to email is not permission to WhatsApp, publish a photo or show a phone number to a group leader
- A visitor will not install an app or invent a password to say hello
✓ The Solution
A phone form behind a personal link, with every permission recorded as its own dated event and the access rules enforced by the database.
01
TAPNFC card or QR code02
REGISTERA short form on the phone03
CHOOSESeven separate permissions04
WELCOMEThe team follows up3. Signing Up
Each member gets a personal link, /m/code, to invite others, and the form greets the next person with who invited them. A general link per church, /r/church, serves posters and social media and asks how they found it, with "on my own" as an answer. Both links record whether the visit came from NFC, QR or a plain link.
Name, email, mobile and birth date are required; address and baptism are optional and say so. No box arrives ticked. A repeated email gets the same thank-you screen, so the form never reveals who is already registered.




The screenshots are in Spanish, the demo's default, and use fictional churches and members. A child under 14 needs a parent or guardian: the guardian receives a single-use email in the child's language and confirms or rejects with a button. Until then none of the child's permissions take effect and leaders do not see them. An administrator can resend the email or record a confirmation made in person.



4. Consent
The seven permissions are membership data, the privacy policy, email, WhatsApp, SMS, visibility to leaders and use of photos. The first two are required to register and the other five are optional. The legal texts are versioned per language, and each answer points at the exact version the person read. Publishing a new text never rewrites an old one.
- Preferences without a password: A short-lived link opens a page to change email, WhatsApp, SMS, visibility and photos. Only real changes are recorded.
- Unsubscribe that survives link scanners: Opening the link does nothing; a confirm button withdraws every channel, so a mail scanner cannot unsubscribe anyone.
- Data rights: A public form takes access, rectification, erasure, portability and objection requests. They reach the panel with a one-month deadline and a JSON download of the person's data.
- Erasure with proof: Erasing anonymises the member and revokes everything, and keeps the consent history without identity. A legal review still has to confirm that choice.

5. The Team's Panel
Administrators get a member list with search and a filter by permission, a record per person with who invited them, whom they invited and the full consent history, a CSV export protected against spreadsheet formulas, the data rights inbox, church settings and user management. They can print or download QR codes and, on Chrome for Android, write an NFC tag from the panel. Opening a member record and exporting are written to an access log.
All members shown are fictional, and the panel is in Spanish only for now.
6. One Platform, Many Churches
Each church has its own data, team and look: a logo, a main and an accent colour, one of nine heading fonts and light or dark pages. The colours are adjusted automatically so that a pale or very dark choice stays visible.




The product page and the public forms are in Spanish, English, German and Arabic, with Arabic laid out right to left. The card links carry no language: it comes from the browser, can be changed and is remembered, so one printed card works for everyone.


7. Who Sees What
Public forms go through the server, which calls Postgres functions with a key the browser never receives. The panel queries as the signed-in person, so row level security decides what comes back. Leaders see only members who agreed to be visible, and no consent history. A database trigger keeps every church with at least one administrator.

8. Key Decisions
Security in the database, not in the pages
A mistake in a page cannot show one church another church's people, because the policies and composite keys refuse it. The cost is that rules are written in SQL and need their own tests.
Consent as an append-only log
"Did this person agree, to what wording, and when?" has an answer. The cost is that the current state is a view over the history instead of a column to read.
Rate limits inside Postgres
Sign-up, rights requests, preference links and login are limited with a sliding window stored in the database, keyed by salted hashes, with no extra service. A shared wifi network counts as one connection, so the sign-up limit is deliberately generous.
No lock to one host
Plain Next.js, Postgres and SMTP, with everything configured through environment variables, so the mail provider or the host can change without rewriting the app.
9. Outcome and Limits
7
separate permissions4
languages for visitors12
database migrations111
database checks passing- Not for real data yet: The legal texts are drafts pending a legal review, and a verified mail domain, backups and EU hosting come first.
- Not built yet: Messaging by email, WhatsApp or SMS, groups, push notifications and billing. The product page marks messaging as coming soon.
- What is online: The product page is public. The demo church runs on a local setup.
- My part: The product design, the database and its security rules, the public forms, the panel, the branding system, the product page and the translations setup, alone.
Key Takeaways
- Privacy shapes the data model: Separate, versioned, dated permissions are a table design, not a line of small print.
- The invitation is the valuable link: Knowing who brought whom is what turns a list into follow-up.
- Say what a demo is not: Marking drafts, fictional data and unbuilt features keeps the next step clear.
Next steps: Complete the legal review, then send news to the people who agreed to each channel.