Repository navigation
v2.0.0
TypeScript rewrite + Google sign-in
Full rewrite of the Scribbly server in TypeScript (ES modules).
- Secure Google sign-in: Sign in with Google - no passwords to create or store. The server verifies the Google ID token and confirms the email is verified before starting a session. Account is created automatically the first time you sign in.
- Persistent sessions: Session is stored in MongoDB and refreshed as you use the app, with a rolling 30-day cookie. The cookie is HTTP-only, and secure cross-site settings are enabled in production.
- Private notes: Create and edit notes in your account. Each note is scoped to its owner.
- Trash and restore: Soft-delete notes to remove them from active use, restore them later, or permanently delete notes once they’re in the trash.
- Account controls: Log out to end a session, or permanently delete your account and its associated notes.
- Sign-in protection: The Google sign-in route is limited to 10 attempts per 5-minute window.
Breaking:
Important
/signup and /login are removed. Email/password accounts were not migrated.
Requires GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET.