Skip to content

NeaByteLab/NeaExpress-Kit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NeaExpress-Kit 🚀

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.

📆 Features

  • 🌐 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

📁 Project Structure

├── 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

🚀 Getting Started

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

🧪 Run Tests

npm test

✅ Includes test coverage report using Jest and Supertest.

🧠 Design Philosophy

  • Small, secure, and scalable.
  • Convention over configuration.
  • Built-in error handling & API structure.
  • Cleanly structured for real-world backends.

⚖ License

MIT — NeaByteLab © 2025

About

Full-featured Express.js starter with EJS views, API routing, Redis session, and production-ready setup for NeaByteLab

Topics

Resources

Stars

Watchers

Forks

Contributors