
Every complex structure, whether physical or digital, begins with a solid foundation. This week, we’re taking you behind the scenes on a development sprint for our flagship product, Aqarratti. Day 1 was dedicated to laying the essential groundwork, creating the architectural “scaffolding” upon which all future features will be built.
Frontend: The User’s World
On the frontend, we used the modern Next.js App Router to establish the application’s main shell (layout
). We also set up the core security scaffolding (AuthGuard
, RoleGuard
), which will act as the digital gatekeeper, ensuring users can only access information relevant to their roles. Finally, we created the initial routes for the landlord-focused dashboard, defining the future pathways users will navigate.
Backend: The Engine Room
Simultaneously, we configured the backend using AWS SAM. The heart of the system, AWS AppSync, was set up to use Amazon Cognito for secure user authentication. This ensures that every data request is verified and authorized. We defined the initial data “resolvers” for properties, creating the first link in a chain that will eventually connect our frontend to our database.
Our primary goal for the week is to establish a secure, end-to-end data flow: from the user’s click on the frontend, through the GraphQL API in AppSync, processed by a Lambda function, and securely retrieving data from our RDS PostgreSQL database.