AeroSports
Central Express.js backend powering all AeroSports applications with MSSQL, authentication, API keys, rate limiting, and fault-tolerant request handling.
Stack
Express.js backend
Database
MSSQL
Auth
JWT + API keys
Reliability
Rate limiting + retries
Role
Platform-wide data backbone
Grouped by the primary systems, languages, and infrastructure used in this build.
Frameworks
Express.js
Libraries
Sequelize, bcrypt, cors, ws, tplink-smarthome-api
Languages
JavaScript
Infrastructure
MSSQL
Supporting Systems
Admin Portal
AeroSports
Central Express.js backend powering all AeroSports applications with MSSQL, authentication, API keys, rate limiting, and fault-tolerant request handling.
Stack
Express.js backend
Database
MSSQL
Auth
JWT + API keys
Reliability
Rate limiting + retries
Role
Platform-wide data backbone
Tech Stack Overview
Grouped by the systems, languages, and supporting layers used in this project.
Acts as the structured data layer and API backbone for connected applications.
The Backend API is the backbone of the entire AeroSports platform.
It is built using Express.js and connects all systems to a centralized MSSQL database hosted on the server.
Every major system depends on it, including:
It is responsible for:
As the system scaled, the backend evolved from a simple data provider into a robust, secure, and fault-tolerant core system.
The backend API acts as the central data and control layer, connecting all AeroSports applications to the MSSQL database while enforcing security, validation, and reliability through middleware.
All requests pass through a structured middleware pipeline before reaching business logic.
Every request is validated to ensure:
Two authentication methods are supported:
JWT Tokens
API Keys
After authentication, requests are checked for:
Additionally:
Each API key or token is monitored to:
A retry middleware ensures reliability:
Only after passing all middleware layers does the request:
This layered design ensures:
The backend initially: At this stage:
The backend initially:
At this stage:
As usage increased, we faced: We:
We introduced: This reduced:
As the system expanded, security became critical. We added:
To support multiple systems running simultaneously: We added: At this stage, the API became a fully structured backend system supporting all platfo...
Initially, the API was slow and inefficient. Some requests: We solved this by:
Initially, the API was slow and inefficient.
Some requests:
We solved this by:
Requests sometimes: We introduced: We also updated client systems to:
Even valid requests sometimes returned inconsistent data. This required:
Adding authentication and authorization was challenging because: Solution: This hybrid approach allowed:
As new features were added: Maintaining backward compatibility and stability across: was a continuous challenge
I built the backend system from scratch and evolved it into a reliable core platform.
My contributions included:
As the team grew:
This project represents my work in turning a simple backend into a scalable, secure, and fault-tolerant system that supports the entire platform.
Core technologies
Supporting technologies