Backend & APIs · Web · API · Open source
Time Capsule
Messages for the future, pinned to places.
Geo-tagged digital time capsules: write a message today, pin it on the map, and unlock it on a chosen date. Public REST API plus a Next.js map client.

- Stack
- Node.js
- Express
- TypeScript
- MongoDB
- AWS Lambda
- Focus
- API design · Geo queries · Access rules
- Platforms
- Web · API
01 — Context
The problem
Capsules should be discoverable on a public map without leaking their content before the opening date — while owners can always read their own.
02 — Decisions
The approach
An Express API on AWS Lambda separates routes, controllers, and services. The public feed returns metadata only, and optional authentication decides who can open a capsule.
03 — What’s inside
Key features
- Register, login, refresh, and logout with httpOnly secure cookies
- Capsule CRUD with date filters, pagination, and sorting
- Great-circle radius search computed in an aggregation pipeline
- Public profiles and achievements
Scope & constraints
The map client source is private; the API is open source.