Case study · 02 / 11
Productivity Workspace
Fig. 01 — AkiWorkspaceHover for colour
SaaS application for managing ideas, notes, tasks and projects, with a modern full-stack architecture, hardened security and granular sharing. A collaborative platform inspired by Notion and Linear.
End-to-end design and development of a collaborative workspace web app that lets users centralise notes, ideas, tasks and projects in a modern interface. Server-first architecture built on the Next.js App Router and Server Actions, with all business logic on the server, strict TypeScript + Zod validation and a Prisma database. The project focuses on security by default, performance (React Server Components, streaming, smart caching), a modern developer experience (type safety, Prisma, hot reload, migrations) and an advanced permission system with public, secret-link and group sharing. Built as a working SaaS product with full authentication, admin roles, user onboarding, technical documentation and a user guide.
Main Features
Technical Challenges
Technologies
Year
Live captures · hover for colour
01Mandatory authentication with NextAuth v5 (secure JWT)
02Email verification at sign-up
03Private dashboard with full CRUD (notes, ideas, tasks, projects)
04Multiple categories & tags (Prisma many-to-many relations)
05Rich Markdown editor
06P1/P2/P3 priorities + pinning
07Granular visibility: PRIVATE, PUBLIC, UNLISTED (secret link), SHARED (groups)
08Share single items or whole collections through a public slug
09Multi-select + bulk actions
10Reading-optimised public modal + "article" mode
11Admin panel (user and role management)
12Interactive onboarding tutorial
13Automatic sign-out for security
14Custom design system (Tailwind + reusable UI components)
15React Server Components (SSR by default)
16Server Actions (business logic server-side only)
17Streaming + Suspense
18Speed Insights (Core Web Vitals)
01Full Server Actions architecture with no REST API
02Shared type-safe validation between client and server
03Fine-grained permission system (owner, shared, public, unlisted)
04Secure public sharing without search engine indexing
05Complete XSS/CSRF protection
06Scalable design system
07Server state management + RSC revalidation
08Efficient Prisma many-to-many structure
09Production PostgreSQL deployment
10bcrypt hashing (cost 12)
11httpOnly + secure JWT sessions
12DOMPurify sanitisation against XSS
13Content Security Policy
14Zod validation on the server only
15Rate limiting (sign-up / admin)
16Ownership checks on every action
17Security headers (HSTS, X-Frame-Options, nosniff)
18Blocking dangerous protocols (javascript:, data:, file:)
Front-end
Back-end
Tools
Tags
#saas #nextjs #prisma #security #full-stack #server-actions #authentication #workspace #productivity
Next project
03 / 11
CTREQ