A robust Express.js API service with IP-based request throttling and JWT authentication.
- IP-based request throttling using Redis
- JWT authentication
- TypeScript implementation
- Comprehensive test coverage
- Structured logging with Morgan
- Security headers with Helmet
- Node.js
- MongoDB
- Redis
- Install dependencies:
yarn install
- Create
.env
file with required environment variables.
yarn start
- Start development serveryarn build
- Build production bundleyarn test
- Run test suiteyarn lint
- Run ESLint checks
API endpoints are versioned under /api/v1
with JWT authentication middleware.
- Authentication routes
- User management
- System health checks
- Implements rate limiting
- JWT token validation
- Secure HTTP headers
- Input validation