I am making a full end to end solution for a maintenance company, complete with mobile apps for their customers. My technology goal for such a project was as follows:

I chose nhost.io for this project, nhost is just a provider which just hosts the following open source projects in a neatly wrapped package, anyone with some time on their hands can replicate this stack.

The real magic here is Hasura - which is open source - which makes writing a backend obsolete for business products which helps people perform their functions effectively.

Products like these is why I am so bullish on a future where real innovation and effort will be done on solving actual problems and making amazing user interfaces, rather than paying top dollar to write yet another CRUD.

I'll write about one use case and the solution to it using the above tech stack on how I solved it.

Use Case

The user of the maintenance company's mobile app, wants his kitchen sink to be fixed, he will select a date on a calendar and submit his request, the system should raise a ticket and assign it to the relevant teams and raise a push notification on both the team's mobile app and the customers.

The mobile apps for teams and clients are made in React Native using Expo SDK, which keeps me in Javascript, and is truly a write once and execute anywhere promise fulfilled.

A calendar is displayed to the user to select a date

On selecting a date we use our ready made GraphQL API to insert a record in our schedule table.

In Hasura we have created a trigger to run on every insert on this table, using a point and click UI.