Sign in and keep a profile.
Millesime Labs is an application for accounts. Sign in with an email link or with Google. The account page shows the address on the session. The profile stores a display name and a theme.
Email or Google
Email sign-in sends a link through Resend. The link expires in one hour and works once. Google sign-in uses the address Google has verified. The first time an address is used, it creates the account.
Account
The account page stays closed until a session exists. It shows the email on the session and whether that account is the admin.
Profile
A display name and a theme — light, dark, or system — are saved for the signed-in user. They live in a SQLite database on this install.
Admin
The address in ADMIN_EMAIL becomes the admin when that person signs up. That account can open a list of every account on this install. Other accounts cannot. A later signup emails the admin when Resend is configured.
Notes
- Signing in with email or Google
A one-hour email link, or Google, opens the same account.
- What an account stores
The email on the session, a display name, and a theme.