← Back to projects
Individual Project

Dopamine Lock Web

Full-stack discipline platform

Full-stack behavioral system with React/Vite frontend, Express APIs, Prisma domain models, PostgreSQL persistence, authentication, analytics, and extension-facing endpoints.

Full-StackBackendSystems
Status
Active / in progress
Year
2026
Role / Context
Individual full-stack project
Dopamine Lock Web landing page screenshot

Overview

Dopamine Lock Web is an independent full-stack discipline platform: a React/Vite client backed by a Node.js/Express API, Prisma, PostgreSQL, JWT authentication, bcrypt password hashing, password recovery, modular service/routes, tests, and product systems for missions, blocking, analytics, reviews, goals, achievements, streaks, identity, consumption control, and browser-extension integration.

Problem

Sustained focus requires more than a timer: the system must model missions, sessions, consumption limits, user identity, historical progress, and integrations as durable backend state.

Solution

Model the domain in PostgreSQL/Prisma, expose REST modules through Express routes and services, secure access with JWT/bcrypt, and integrate a React dashboard that aggregates behavioral state across missions, blocks, goals, streaks, analytics, and reviews.

Engineering Highlights

  • Prisma schema models missions, sessions, block rules, goals, streaks, achievements, reviews, consumption logs, discipline score events, and extension sync state.
  • Backend routes and services are separated by domain modules rather than placed in one controller file.
  • JWT authentication, bcrypt, rate limiting, password recovery, and test coverage are present in the backend repository.
  • Frontend service/hook organization mirrors backend capabilities for dashboard aggregation and stateful workflows.

Architecture

  1. 01React/Vite client
  2. 02REST API
  3. 03Express routes/controllers
  4. 04Domain services
  5. 05Prisma ORM
  6. 06PostgreSQL
  7. 07Extension-facing APIs

Technology

Frontend

React 19ViteReact Routerservice/hook modules

Backend

Node.jsExpress 5REST routesdomain servicesJWTbcryptNodemailer

Data

PostgreSQLPrisma ORMrelational domain schema

Testing

JestSupertest

Ownership / Context

Dopamine Lock Web is presented as a individual project, with claims limited to repository-verified implementation details.

Screenshots / Assets

Dopamine Lock Web screenshot 1
Dopamine Lock Web screenshot 2
Dopamine Lock Web screenshot 3