A complete, open-source observability platform built with NestJS and Node.js, focused on API monitoring and analytics without the operational overhead of traditional observability tools.
- Real-time API monitoring & analytics
- Request/response logging with detailed tracing
- Performance metrics (response times, error rates, Apdex scores)
- Consumer tracking & API usage analytics
- Alerting system with multiple notification channels
- Team collaboration & multi-app management
HitAPI/
├── apps/
│ ├── api/ # NestJS Backend API
├── packages/
│ ├── sdk-js/ # Official Node.js SDK
│ └── shared/ # Shared files
│ └── types/ # TypeScript types
├── .husky/ # Git hooks
├── LICENSE # MIT License
└── package.json # Root workspace config
- Backend: NestJS, TypeScript, TypeORM
- Database: PostgreSQL, Redis
- Queue: BullMQ
- Infrastructure: Docker, Swagger
- SDK: Node.js, Express middleware
// Install the SDK
npm install @hitapi/sdk-js
// Express.js integration
import express from 'express';
import { useHitAPI, setConsumer } from '@hitapi/sdk-js/express';
const app = express();
useHitAPI(app, { clientId: '65973e74-3b71-4392-bbfa-d108a8a5d9d8' });
app.get('/api/test', (req, res) => {
setConsumer(req, 'tester');
res.send({ message: 'Hello World!' });
});
app.listen(3000, () => console.log('Server started on port 3000'));# Install all dependencies
npm install
# Run all tests
npm test
# Build all packages
npm run build
# Run API in development mode
npm run dev --workspace=apps/api
# Run SDK tests
npm test --workspace=packages/sdk-js
# Lint all packages
npm run lint --workspaces- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'feat(scope): add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
- Authentication & user management
- Team/workspace system
- Application management
- Request logging infrastructure
- Data ingestion API
- Node.js SDK development
- Traffic analytics dashboard
- Error tracking & aggregation
- Performance monitoring
- Consumer analytics
This project is licensed under the MIT License - see the LICENSE file for details.
- Inspired by Apitally.io