HONO Expense Tracker - Episode 8: Group Expense Sharing & Invites API!
In Episode 8 of our HONO Expense Tracker series, we’re adding group expense sharing! Learn how to create groups and send invites to share costs with housemates or partners—all through our API. We’ll update our schema with new tables (groups, groupMembers, groupInvites), build API endpoints with Hono, and test everything in Postman. No UI yet, but stay tuned for that in the next video!
Timestamps:
0:40 - Real world Example Scenario of Group splitting
1:20 - Looking at the Database Table
1:40 - Another Realworld example of Groups
2:30 - Going over the Tables
5:00 - Postman Sign up example
6:20 - Create Group Example
7:50 - Invite Members Example
8:50 - Accept Invite Example
10:00 - Create Shared Expense
11:08 - Sign up as group member
12:15 - See shared Expenses
13:19 - Add expense to group as new user
15:00 - See all Grouped expenses
15:40 - Next steps
What You’ll See:
Adding groups, groupMembers, and groupInvites to our schema
Creating API endpoints to manage groups and send invites
Testing it all in Postman to share expenses like rent!
Resources:
Full code on GitHub:
Backend: github.com/fGiordi/hono-expense-tracker-api
Frontend: github.com/fGiordi/split-expense-api-hono-front-en…
Neon Postgres (for database): neon.tech/
Catch up on the series:
• 🔒 Episode 6: Part 1 - Adding Authenticatio...
Hono Docs: hono.dev/
Drizzle ORM Docs: orm.drizzle.team/
Let’s Chat!
What’s your group name idea for sharing expenses? Drop it in the comments! If you enjoyed this, give it a thumbs up , subscribe, and hit the bell for the UI reveal in Episode 9!
#Hono #ExpenseTracker #API #Postman #WebDev
コメント