AdonisJS Backend API for a 24/7 Food-Delivery Platform
A food-delivery platform
Overview
The backend API for a round-the-clock food-delivery platform, built on AdonisJS with PostgreSQL. It serves the platform’s React web app and React Native mobile app, handling authentication, core delivery domain data, file storage and validation.
Why It Exists
A 24/7 delivery service needed a single API to power both its customer web app and mobile app, covering accounts, catalog/orders and delivery flows, with cloud file storage and a test suite to keep it reliable.
What We Built
An AdonisJS application following the framework’s structured layout (app, config, database, start, test). It uses @adonisjs/auth for token-based authentication, @adonisjs/lucid over PostgreSQL (pg) for data access with migrations, @adonisjs/validator for request validation, @adonisjs/cors, and @adonisjs/drive plus the AWS SDK for cloud file storage. API integration tests are written with @adonisjs/vow. (The primary repository reference is an empty placeholder; the working codebase lives in the linked sibling repo within the same project family.)
Technologies & Approach
AdonisJS provided a cohesive MVC backend, ORM, auth, validation, testing, letting a small team ship a complete delivery API quickly. Lucid + PostgreSQL modeled the relational data, Drive/AWS handled uploads (e.g. product or document images), and Vow gave the project automated API coverage.
Outcome / Impact
Delivered the shared backend that both the web and mobile delivery clients run against, with token auth, validated endpoints, cloud storage and an automated test suite underpinning a 24/7 service.
Capabilities Demonstrated
- REST API design with AdonisJS and Lucid ORM
- Token authentication and request validation
- Cloud file storage (Adonis Drive + AWS S3)
- Automated API testing (Vow)