Complete implementation of the Goa Government e-Licensing platform with: Backend: - NestJS API with JWT authentication - PostgreSQL database with Knex ORM - Redis caching and session management - MinIO document storage - Hyperledger Besu blockchain integration - Multi-department workflow system - Comprehensive API tests (266/282 passing) Frontend: - Angular 21 with standalone components - Angular Material + TailwindCSS UI - Visual workflow builder - Document upload with progress tracking - Blockchain explorer integration - Role-based dashboards (Admin, Department, Citizen) - E2E tests with Playwright (37 tests) Infrastructure: - Docker Compose orchestration - Blockscout blockchain explorer - Development and production configurations
30 lines
829 B
TypeScript
30 lines
829 B
TypeScript
import { Routes } from '@angular/router';
|
|
import { authGuard } from '../../core/guards';
|
|
|
|
export const WEBHOOKS_ROUTES: Routes = [
|
|
{
|
|
path: '',
|
|
loadComponent: () =>
|
|
import('./webhook-list/webhook-list.component').then((m) => m.WebhookListComponent),
|
|
canActivate: [authGuard],
|
|
},
|
|
{
|
|
path: 'new',
|
|
loadComponent: () =>
|
|
import('./webhook-form/webhook-form.component').then((m) => m.WebhookFormComponent),
|
|
canActivate: [authGuard],
|
|
},
|
|
{
|
|
path: ':id/logs',
|
|
loadComponent: () =>
|
|
import('./webhook-logs/webhook-logs.component').then((m) => m.WebhookLogsComponent),
|
|
canActivate: [authGuard],
|
|
},
|
|
{
|
|
path: ':id/edit',
|
|
loadComponent: () =>
|
|
import('./webhook-form/webhook-form.component').then((m) => m.WebhookFormComponent),
|
|
canActivate: [authGuard],
|
|
},
|
|
];
|