Repository navigation
Releases
Releases · nuvairea/scribbly-server
v2.1.0
Conflict copies
Editing the same note on two devices no longer loses work.
- PUT /notes/:id now checks whether the note was saved by someone else
since the client last saw it. - If it was, the server keeps the saved version and stores the late edit
as a new note titled "<title> (conflict copy)". The response includes
it asconflict. - Identical content doesn't create a copy.
- Backward compatible: requests without
updatedAtoverwrite as before.
v2.0.2
v2.0.1
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.
v1.0.0: Scribbly Server
First stable version of the Scribbly backend.
- Node.js + Express with MongoDB
- Email/password signup and login (bcrypt)
- Session-based auth stored in Mongo, 30-day rolling cookie
- Per-user notes API: create, edit, soft delete / restore, permanent delete
- Account deletion
- Rate limiting on auth routes
Last version before the TypeScript rewrite and Google sign-in (v2.0.0).