Skip to content
Jadline Njeri

Entry 06JADN LABSAPI2025

Notes Scribe

A notes platform demonstrating role-based access: users manage their own notes, admins manage everyone’s.

Authentication

JWT in an httpOnly cookie, role checks per route, and password reset through a hashed, emailed token.

Selected endpoints of Notes Scribe
MethodPath
POST/api/v1/account/signup
POST/api/v1/account/forgotPassword
PATCH/api/v1/account/resetPassword/:token
GET/api/v1/notesown notes
GET/api/v1/notes/adminNotesadmin only
GET/api/v1/usersadmin only
Notes Scribe interface
Fig. — Notes Scribe