Community Activities Site
A pro bono project for a local community.
It started with a WhatsApp message: a PDF of the community's activities was on its way. A static file, when a website is within anyone's reach? I took it as a personal challenge, and six weeks later the community had a site where every resident, and the nearby communities, can find every activity.
I built it alone, working with an AI coding partner: it wrote the code, and I did most of the design and the creative work, made the decisions, and checked every step before the next one.
Less effort for the people using it
The people using the site aren't there to learn a system, so I tried to keep the effort of using it as small as possible:
- The schedule form only offers end times after the start time, marks overlapping times as you type, and for a short course only offers dates inside its period. No error message after you've finished.
- Back from an activity returns you to the same list: the same search, the same filters, the same place on the page.
- Phone numbers are accepted the way people type them, 050-123 4567 included.
- An admin can fix a request before approving it, instead of sending it back and starting a round of emails.
Easy search Try it
People search the way they type: without the apostrophe in ג'ודו, without vowel marks, with a hyphen or without one. So the search ignores all of these. "גודו" finds "ג'ודו", and the list narrows as you type.
Phone numbers for neighbours, not for data collectors
An activity page only helps if you can call the person who runs it. But a phone number on a public site is personal information. So:
- Each person's consent to show their details is on record, with how it was given.
- Someone who agreed by phone or in person gets an email saying their details are now public.
- Consent can be withdrawn at any time, and the details come off the site.
- Bots that collect contact details or AI training data are asked to stay away.
What else I paid attention to
Courses that end on time
A course hides itself from the site the day after it ends.
Protection without robot tests
Protection that fits the site: a limit on wrong passwords, a limit on how often a form can be sent, and a hidden trap field that catches spam bots instead of "prove you're not a robot" tests. On a small site like this, those tests aren't worth the users' effort.
Confirmations only where they count
A confirmation question only before actions that are hard to undo, like approving a request or pausing an activity. Undoing asks nothing, because a question on every click teaches people to stop reading them.
Everyone knows what happened
Users and admins always know what happened: the sender gets an email when a request is received, approved, needs more information or is declined, and the admins get an email for every new request.
Accessibility for everyone
Accessibility for everyone who uses the site: readable contrast, full keyboard use, screen reader support, text that still works at 200% zoom, and a button that stops the animations. Built to the Israeli accessibility rules.
Nightly backups, tested
An encrypted backup every night, and a nightly test that it really restores.
Alerts when something breaks
The super admin gets an automated email whenever something on the site goes wrong.
Every screen, and an app on the phone
Every page is laid out for its screen, from a small phone to a wide computer screen, and the site installs on a phone like an app.
Trade-offs I chose
- Operators pick a picture from a gallery of AI-generated images instead of uploading their own. It's less personal, but it was a legal decision: no question of who owns the rights to a picture.
- The site runs on free plans, so it costs the community nothing. The price is a risk: one day it may pass the plans' limits, maybe without anyone noticing at first.
- The site is hidden from search engines and reachable only by a link. Fewer people find it on their own, but the operators' phone numbers don't show up in Google search results, and the community decides for itself if and when to open it to search.
- I don't have a range of phones to test on, so besides my own Android phone I tested on simulated devices, including Apple's browser engine on Windows. Close to the real thing, but not the same.
- The nightly backup covers the data, not the gallery pictures. I keep the pictures myself, in Google Drive and on my computer. Simpler, but it depends on me.
What's next
Technical details
| Stack | Next.js 15, React 19, TypeScript, Tailwind |
|---|---|
| Data | Neon Postgres with Drizzle |
| Accounts | Invites for operators, password reset, lockout after too many wrong passwords |
| Hosting and email | Vercel, Vercel Blob for images, Brevo email on an own domain |
| Safety | Spam protection without a CAPTCHA. A framework upgrade that closed 24 published security issues |
| Backups | Database copied to GitHub every night, kept for 30 days |
How it was tested
- A separate test copy of the site, so every change could be tested safely before it went live.
- About 80 test scenarios run by hand, most critical first, and an AI browser assistant that ran scenarios on the live pages. Tested in Chrome, Firefox, the Safari engine and on an Android phone, and emails tested with Gmail and Hotmail.
- ChatGPT, Gemini and Grok reviewed the code and the legal texts, and dedicated accessibility checkers tested the pages. I checked every point before acting on it.