Backend service for a Patrol Management System, built with Node.js, Express, TypeScript, and Sequelize. This project provides a REST API and real-time communication using Socket.IO.
- JWT Authentication
- RESTful API for users, patrol routes, and reporting
- Real-time communication with WebSocket
- Security middlewares: Helmet, CORS, and Compression
- Logging with Pino
- Database migration and seeding using Sequelize CLI
- Input validation with Express Validator
- Node.js (ESM Module)
- Express 5
- PostgreSQL + Sequelize ORM
- TypeScript
- Socket.IO
- ESLint + Prettier + Husky
git clone https://github.com/DarmawanWeb/patrol-monitoring-be.git
cd patrol-monitoring-bepnpm installCreate .env file based on .env.example:
cp .env.example .envpnpm devpnpm build
pnpm start:prodpnpm dev— Run development server with hot reloadpnpm build— Compile TypeScript filespnpm start— Run compiled codepnpm format— Format code using Prettier
© 2025 by @agus-darmawan. This project is under a proprietary license.