TrustedCloud Backend Documentation



This content originally appeared on DEV Community and was authored by Alireza Behnam Shiva

Table of Contents

  • Introduction
  • System Overview & Architecture
  • Technology Stack
  • Node‑RED Flow Structure
  • API Routing Layer (TC‑API)
  • Authentication & Authorization
  • Database Schema (MongoDB)
  • Feature‑Level Backend Logic

Introdocution

TrustedCloud’s backend is the core system that handles user authentication, onboarding requests, and reviewing requests logic. It allows users to sign up, log in, and manage their onboarding requests through role-based dashboards.

When users sign up, log in, or request their dashboard data, the backend receives their request, validates the information, checks authentication tokens, and routes the request to the correct flow. Each operation — from creating a new account to retrieving dashboard data — is processed through a dedicated set of backend flows.

After the backend confirms the user’s identity and roles, it sends them the correct dashboard response. TrustedCloud supports four role‑based dashboards:

Admin Dashboard
Applicant & Approver Dashboard
Applicant & Auditor Dashboard
Applicant Dashboard

Note:

New users always start with the Applicant role by default. Admins can later update user roles through internal management tools.

The backend is also responsible for handling onboarding requests. Applicants can submit requests, while Approvers and Auditors review them — approving, rejecting, or adding clarifying comments. All of these actions are processed through specific back-end flows that connect directly to MongoDB, ensuring data is stored and retrieved securely.


This content originally appeared on DEV Community and was authored by Alireza Behnam Shiva