ERP Management System
A modular ERP backend with structured routing, middleware, and a schema-driven data layer built on Prisma ORM and PostgreSQL.
- TypeScript
- Node.js
- Express.js
- Prisma
- PostgreSQL
- JWT
- bcrypt
- RequestREST
- RouterStructured routes
- MiddlewareJWT in HTTP-only cookie
- ValidationRequest checks
- PrismaSchema-driven
- PostgreSQLRelational store
An ERP handles records many people must not touch freely. Every request has to be identified, authorized and validated before it reaches the data, and that should come from the structure of the code, not from habit.
- Authentication and authorization
- Password hashing with bcrypt
- JWT authentication using HTTP-only cookies
- Protected routes and middleware
- Request validation
- REST API endpoints
- The token lives in an HTTP-only cookie, so page scripts cannot read it.
- Passwords are stored only as bcrypt hashes.
- Routing, middleware and the Prisma schema stay in separate modules, so each can change on its own.