mbarking on a journey as entrepreneurs with a dear friend, we set out to conquer the tech industry. However, the reality of the business world soon set in.
Our first client was a small business that required a checker for their employees and a program that could handle payroll efficiently. While not a particularly challenging project, it gave us the opportunity to explore and experiment with different technologies.
I decided to create a REST API with a lightweight GraphQL-like parameter system that worked with
object models. For instance, on the GET /branch/<id>
route, you could retrieve employees by
adding a "with" parameter, and vice versa:
GET /branch/1?with=employee
GET /employee/1?with=branch
This approach enabled us to efficiently retrieve and manipulate data while minimizing the number of API calls required. Overall, it was an exciting and valuable learning experience for our budding startup.
The journey had a lot of challenges and these are some of them. They aren't in order of difficulty