Sharing files and text snippets between devices usually requires an account, a login, or a heavy upload process. For quick one-off transfers — sending a note from phone to laptop, sharing a config file with a teammate — frictionless sharing without signup is the goal.
Built a minimal platform with no authentication required. Generate a 4-digit code, share it, and the recipient retrieves the content. MongoDB TTL indexes automatically delete data after expiry or single retrieval.
- Frontend: Next.js, Tailwind CSS
- Backend: Node.js, MongoDB
- Encoding: Base64 for file and text content
- Expiry: MongoDB TTL indexes for automatic cleanup
- Security: Single-access deletion, encrypted in transit
Balancing convenience with security. No-signup means no identity verification, but the data must still be protected. Enforced single-access deletion — after the recipient retrieves the content once, it is permanently deleted. Combined with HTTPS and short-lived TTLs, the risk window is minimal.
- Upload-to-share speed: under 3 seconds
- Automatic data deletion after single retrieval or TTL expiry
- No account creation required — zero onboarding friction
- Base64 encoding handles any file type up to 10 MB
Lessons Learned
Every project comes with tradeoffs. If I were to rebuild this today, I would invest more time in automated testing early in the cycle — catching edge cases in payment webhooks and encryption boundaries before they reach production. The architecture decisions held up well, but the test coverage should have matched the complexity from day one.
Was this project helpful?
Comments
Be the first to commentBe the first to share your thoughts.