A minimal, production-ready Express.js starter API boilerplate with EJS view rendering, Redis session store, rate-limiting, error handling, and full test coverage โ built for NeaByteLab.
- ๐ Express + EJS server
- ๐ Secure session management (Redis-based)
- โ๏ธ API rate-limiting with abuse protection
- โก Gzip compression + HTML minification
- ๐ CORS support + body parsing
- ๐งฐ Modular routes & middleware
- ๐ Custom API response wrapper (
res.api) - โ Pre-configured unit tests (Jest + Supertest)
- ๐ก JavaScript obfuscation via Webpack
โโโ source/ # Source code
โ โโโ index.js # Main server file
โ โโโ middleware/ # Custom middleware (e.g. res.api)
โ โโโ routes/ # Route files (app/api)
โโโ views/ # EJS view templates
โโโ test/ # Unit & integration tests
โโโ webpack.config.js # Webpack + Obfuscator config
โโโ package.json # Project dependencies & scripts
โโโ README.md
git clone https://github.com/NeaByteLab/NeaExpress-Kit.git cd NeaExpress-Kit npm install npm run dev # Run in dev mode npm run build # Compile and obfuscate using webpack npm start # Run compiled production code
npm testโ Includes test coverage report using Jest and Supertest.
- Small, secure, and scalable.
- Convention over configuration.
- Built-in error handling & API structure.
- Cleanly structured for real-world backends.
MIT โ NeaByteLab ยฉ 2025