Epic: Phase 1 — Multi-tenant Backend #7

Closed
opened 2026-02-25 16:05:09 +01:00 by libretech · 0 comments
Owner

Overview

Transform the single-user Notesium backend into a multi-tenant system with per-user authentication, storage isolation, and tenant-aware API routing.

Child Issues

  • #8 Add user model and SQLite storage
  • #9 Implement email magic link authentication system
  • #10 Implement per-user note directory isolation with filesystem sandboxing
  • #11 Add tenant-aware API routing with auth middleware

Success Criteria

  • Multiple users can register and authenticate independently
  • Each user's notes are isolated from other users
  • API endpoints enforce authentication and tenant boundaries
  • No regression in single-user Notesium functionality

Dependencies

  • Depends on Phase 0 (#2) completion

Architecture Notes

  • SQLite for user storage, filesystem for note storage
  • JWT-based authentication with magic link passwordless login
  • Middleware-based tenant context injection
## Overview Transform the single-user Notesium backend into a multi-tenant system with per-user authentication, storage isolation, and tenant-aware API routing. ## Child Issues - [x] #8 Add user model and SQLite storage - [x] #9 Implement email magic link authentication system - [x] #10 Implement per-user note directory isolation with filesystem sandboxing - [x] #11 Add tenant-aware API routing with auth middleware ## Success Criteria - [x] Multiple users can register and authenticate independently - [x] Each user's notes are isolated from other users - [x] API endpoints enforce authentication and tenant boundaries - [x] No regression in single-user Notesium functionality ## Dependencies - Depends on Phase 0 (#2) completion ## Architecture Notes - SQLite for user storage, filesystem for note storage - JWT-based authentication with magic link passwordless login - Middleware-based tenant context injection
libretech added the phase-1epic labels 2026-02-25 16:05:09 +01:00
libretech added the backend label 2026-03-02 17:52:35 +01:00
libretech changed title from Phase 1: Multi-tenant Backend to Epic: Phase 1 — Multi-tenant Backend 2026-03-02 17:52:35 +01:00
Sign in to join this conversation.