AdonisJs API Service for Stream/Event Processing
Overview
An API server built on the AdonisJs framework (API-only blueprint), pre-configured with authentication, CORS, the Lucid ORM, and migration/seed tooling, serving as a backend worker for the platform’s stream/event handling.
Why It Exists
The platform needed a structured, convention-driven Node.js API backend to expose authenticated endpoints and persist data, providing a stable service layer alongside the conversational bot.
What We Built
- An AdonisJs 4 API application (
server.js,aceCLI) with the standardapp,config,database, andstartstructure. - JWT-based authentication via
@adonisjs/authand request handling through bodyparser and CORS middleware. - Data access through
@adonisjs/lucid(ORM) with migrations and seeds for schema management. - HTTP integration via
axiosand client introspection viaua-parser-js.
Technologies & Approach
AdonisJs provides an opinionated MVC/REST structure on Node.js; Lucid handles relational persistence with migrations. The API-only configuration keeps the surface focused on JSON endpoints and authentication.
Outcome / Impact
Provided a maintainable, convention-based API backbone for the platform’s services, demonstrating structured backend engineering with authentication and ORM-managed data.
Capabilities Demonstrated
- Scaffolding REST APIs with a convention-driven Node.js framework
- JWT authentication and CORS-secured endpoints
- ORM-backed persistence with migrations and seeds
- Service-oriented backend supporting a wider platform