TagSnap
Snap a picture, upload it and tag it. A deliberately simple alternative to Pinterest.
At a glance
- Direct browser-to-storage uploads through presigned policies
- Search the feed by one or more tags, or by user
- GitHub sign-in, with posts only removable by their author
Overview
TagSnap is an image sharing site stripped down to the essentials. You sign in with GitHub, upload a picture, give it a few tags, and it shows up in a shared feed that anyone can search by tag or by user. I built it as my final project for college.
Images never pass through the app server. The server hands the browser a short-lived presigned upload policy, limited to a single file name, an image type and 10 MB, and the browser sends the file straight to S3-compatible object storage. Only then does the server check that the object really exists and belongs to the signed-in user before writing the post to PostgreSQL, where tags live in an array column so a search for several tags is a single containment query.
Built with
- Next.js
- TypeScript
- Tailwind
- Zod
- SQL
- S3
- Docker


