Our great sponsors
-
Queries: https://github.com/kamilmysliwiec/nest-cqrs-example/blob/master/src/heroes/queries/handlers/get-heroes.handler.ts
-
Nest
A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications on top of TypeScript & JavaScript (ES6, ES7, ES8) 🚀
So here is a super simple example using NestJS. You don't have to understand all of the TyepScript typing but just the general pattern. You have all of your heroe queries in one class and all of your mutator queries in another class.
-
Appwrite
Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!