← Back to projects
Users Register App
Full-stack2026

Users Register App

Full-stack monorepo: a Node REST API and a React SPA talking over HTTP.

Overview

Complete user management system: an Express + Prisma (MongoDB) API with JSON CRUD and a React (Vite) SPA with TanStack Query, Zod validation and React Hook Form.

The problem

I wanted to practice real backend: API design, data modeling and REST conventions, while keeping the front/back relationship integrated around shared contracts.

The solution

I built both ends independently: the API exposes CRUD (GET/POST/PUT/DELETE /users) with search and duplicate-email handling (HTTP 409); the SPA consumes it with types mirrored in Zod.

Features
01

Data contract

The Prisma model (User) defines the shape of records; the frontend mirrors it in a Zod schema so both sides agree on the payload.

02

Two-level validation

Zod validates on the client (required fields, e-mail format, age range) and the database enforces on the server.

03

CORS + query params

API with CORS enabled for cross-origin consumption and search/filter support through query parameters.

Tech stack
ReactNode.jsExpressPrismaMongoDBViteTailwind CSSZod
Next project
Just Ask