Open Source
EkoLite
Our open source real time backend framework, built test first at EkoHacks and published on npm.
- Domain
- Open Source
- Status
- Live
- Published on npm
- v0.6.0
- Mocking frameworks
- 0
- Testing
- No mocks
- TypeScript
- Fastify
- MongoDB
- WebSocket
The problem
A genomic visualisation prototype ran on Meteor, which gave us the reactivity we needed but was too heavy and too slow. We wanted Meteor’s reactivity model without the overhead, and nothing on the shelf offered it.
The build
EkoLite is a real time backend on Fastify, MongoDB and WebSocket, with typed pub/sub and RPC and live data synchronisation. It stays small enough for learners to read end to end.
It was developed entirely test first, with Nullable Infrastructure wrappers for MongoDB, WebSocket, and file storage, each with configurable responses and output tracking. No mocking frameworks anywhere in the codebase.
Where it stands
EkoLite is open source on GitHub and published on npm. Release 0.6.0 closed a data leak between subscribers with a three valued query matcher, verified in a real browser. It is built and taught at EkoHacks, where developers learn test driven development inside it, and it powers EkoGenome, our live genome platform.