LED Calculator API is a standalone Node.js + Express microservice that transforms existing frontend LED display configuration algorithms into a powerful RESTful API. This project exemplifies the "Frankenstein" spirit by stitching together:
- Complex TypeScript algorithms (originally designed for React frontend)
- Node.js/Express backend (API layer)
- SVG generation engine (visual preview system)
- Mathematical optimization (guillotine packing algorithm)
- Image processing (PNG conversion with Sharp)
The Challenge We Solved
LED display wall configuration is a complex engineering problem:
- Multiple cabinet sizes must fit together like puzzle pieces
- Coverage must be maximized while maintaining structural integrity
- Visual previews are essential for client approval
- Third-party integrations need API access
Our Frankenstein creation takes algorithms that were trapped in a React frontend and gives them new life as a standalone API service that any application can consume.
Built With
- express.js
- guillotine-packing
- html
- javascript
- jest
- json
- node.js
- restful
- sharp
- svg
- ts-node-dev
- typescript
Log in or sign up for Devpost to join the conversation.