Relay — Express REST API Starter (JWT Auth + CRUD)

1 / 2
0
Sales
—
Rating
0
Reviews
Description
Relay is a production-shaped REST API starter built with Express. JWT authentication, a validated resource CRUD, security middleware and consistent error handling in a clean layered structure — plus a built-in interactive API explorer served at /.
A real backend foundation, not a hello-world: layered routes → services → data, with auth, validation and security wired in.
Highlights
- JWT auth (register/login/me), bcrypt-hashed passwords,
authenticatemiddleware. - Notes CRUD owned by the user: list (search, pinned filter, pagination), create, read, update, delete.
- zod validation, consistent JSON error shape, central error handler.
- Security: helmet, cors, body limit, auth rate limiting.
- Interactive API explorer (quick demo-login, send requests, view responses).
- Swappable in-memory data layer, ESM, Node 18+, no build step.
Features
Express 4 REST API with a layered structure
JWT auth: register, login, me (bcrypt hashing)
Notes CRUD owned by user (search, filter, pagination)
zod validation with consistent 422 errors
Security: helmet, cors, body limit, auth rate limiting
Central error handling + async wrapper
Interactive API explorer served at /
Swappable in-memory data layer (drop in a real DB)
Request logging (morgan) + health endpoint
ESM, Node 18+, graceful shutdown
Requirements
- Node.js 18+ and npm
- A modern browser for the explorer
- Reverse proxy (e.g. Nginx) recommended for TLS in production
Changelog
**v1.0.0** (Latest)
- Initial release
- Express REST API starter: JWT auth, validated notes CRUD
- Security middleware, error handling, interactive explorer
$23.00
For one end product — free to end users
Price$18.00
VAT 23%$4.14
Rounding adjustment$0.86
Total$23.00
Instant digital download
Quality reviewed by our team
Free future updates
6 months support included
Item Details
- Last Update
- June 9, 2026
- Published
- June 9, 2026
- Version
- 1.0.0
- Category
- Express
- Sales
- 0
- Reviews
- No reviews
Share This Item
License Info
Regular License — Use in one end product which end users are not charged for.
Extended License — Use in one end product which end users can be charged for.
Verify a license key →