BACKEND / API / INFRASTRUCTURE
ReportUs Backend
The API and data layer under the reporting platform
- Role
- Backend engineering
- Platform
- Node.js service
- Year
- 2026
- Category
- PRODUCT / STARTUPS
Overview
The service layer behind the reporting product: an Express API over MongoDB handling authentication, report ingestion, image upload and rate limiting, with an integration test suite that runs against an in-memory database.
The problem
Reports arrive with photographs from mobile connections, which means uploads have to be streamed off the API process, and a public submission endpoint has to survive abuse.
The approach
Multer streams uploads straight into Cloudinary rather than through local disk, JWT sessions gate the write paths, and express-rate-limit fronts the public endpoints. Jest and Supertest run the whole surface against mongodb-memory-server so the suite needs no live database.
What it does
- 01JWT authentication with bcrypt password hashing
- 02Direct-to-Cloudinary media pipeline via multer storage adapter
- 03Rate limiting on public submission endpoints
- 04Mongoose schema and index layer over MongoDB
- 05Integration tests against an ephemeral in-memory MongoDB
- 06Postman collection maintained alongside the API
Screens
Engineering
Stack
- Node.js
- Express 5
- MongoDB
- Mongoose
- JWT
- bcrypt
- Cloudinary
- Multer
- Jest
- Supertest
