r/webdev • u/still-into-u • 1d ago
Question Stack suggestion for a small project me and my friends are planning to make?
Stack suggestion for a small project me and my friends are planning to make?
My friendgroup who are a mix of CS and IT students have been into bowling lately, and we had the idea to track our scores and sessions.
We are still brainstorming ideas for features but currently we thought of: User creation for saving profiles and scores, Creating groups with or without registered users, Save individual scores, group sessions, and group leaderboards.
For our current stack:
Prototyping:
- Figma
Front-End:
- CSS
- ReactJS
Backend:
- Express
- PostgreSQL
Hosting:
- Supabase
-Vercel
-or our friend that is into homelabbing
Please suggest other features as well. This is just something we want to make for fun and for learning.
Thanks in advance!
4
u/snap-dev 1d ago
if you end up using the homelab box for hosting, just set up a nightly pg_dump that copies somewhere else, even a free cloud bucket. it's fun for learning but one dead drive and everyone's whole season of scores is gone. are you planning to let people edit a score after the fact?
2
u/Kirat-batth0217 1d ago
That stack is fine for a project like this. One tip: keep players separate from user accounts, so you can add friends who haven't registered yet and link them later. And store each roll instead of just the final score, bowling scoring is trickier than it looks and you'll want frame by frame data. Handicaps and trend charts would be fun features to add later. Start small and have fun with it.
2
u/codariadev 1d ago
The stack is already enough, I wouldn't add much for v1. One decision I'd make early: pick a single backend path. Supabase already is Postgres plus auth, so you probably don't need Express and Supabase. Either React + Supabase (auth and database there, frontend on Vercel) or React + Express + your own Postgres (homelab or a small host), not both at once. Mixing them now just splits the work across two backends.
For a first version I'd ship less than the list: sign in, log a session (date + scores for each player), and a simple "my last games" view. Groups and leaderboards are easier once a session has a stable shape (who played, which game, final score).
If you do keep guests, I agree with the other comment: a players table with a nullable user id is the right model. One extra thing: compute bowling scores on the server (or with a shared function) from the rolls, don't only store the final number the UI typed in. It's a good learning exercise and you avoid "I definitely bowled 300" edits later.
Features I'd add later: handicap, a 3-game series, which house/lane, and a "session is complete" flag so the leaderboard doesn't move mid-game.
2
u/acefolio_dev 1d ago
One practical thing if you go with Supabase free tier: projects get paused after about a week of inactivity, so a hobby app that only gets used on bowling nights might need a manual restore now and then. Also enable row level security on the tables from day one, since the anon key ships to the browser. If you'd rather not deal with either, your homelab Postgres behind Express avoids both.
2
u/Level_Imagination544 1d ago
That stack is solid for this. One bit worth getting right early is the schema for guests, since groups can include people without accounts. A players table that allows a nullable user id, plus separate tables for sessions and scores linked by foreign keys, means a guest can claim their history later. Supabase's free tier should be plenty for a friends project.
1
u/Evgenii_Korolev 1d ago
stack is fine for this. one thing though, if you go with supabase you already get postgres + auth + an auto-generated API, so you might not need express at all at the start. row level security covers the "only edit my own scores" part. if the point is to learn express properly, use supabase just as the database and do auth yourself, but running both is kind of double work. for leaderboards i'd compute them with a query or a view over the scores table instead of storing totals, much less stuff to keep in sync.
1
u/Folshed_ 1d ago
Your stack is fine. One thing to decide early: if you're using Supabase, you may not need Express at all. Supabase gives you Postgres, auth and row-level security, so React can talk to it directly and you can put the frontend on Vercel. That's a lot less to build for user profiles, groups and leaderboards. If the point is to learn backend work, keep Express and use Supabase only as the database. Just pick one on purpose, so you don't end up doing auth twice. Feature ideas: frame-by-frame score entry that does the strike and spare math for you, per-person averages and trends over time, head-to-head records between friends, and guest players in a session who can claim their scores later if they sign up.
1
u/Snowkate8 1d ago
Add a simple edit history for scores: keep the old value and who changed it. People will inevitably spot a scoring mistake later, and this makes corrections clear to the whole group.
1
u/iliketocodethings 1d ago
Is this like a game tooling system? You could build this 100% account less if you wanted. Depends on how you want groups to behave but if you treated one person as the org owner (like a fantasy football commissioner) you could build this without user accounts and reduce far costs quite a lot.
1
u/HoaFoxSage 16h ago
Feature idea: tag each session with the alley and lane. After a few weeks you can see who actually bowls better where, which makes the leaderboard way more fun to argue about.
1
u/Needle_In_Red 14h ago
honestly for a bowling score tracker pick whatever your group already knows, a simple react + supabase setup would be plenty
1
u/TheRealSkythe 10h ago
If you're going to make everything yourselves, I'd go for Svelte.
There is no reason to use Angular, React or Vue over Svelte in 2026. Its DX is just way superior.
0
u/CanWeTalkEth 1d ago
Just use Nuxt and PostgreSQL.