Files
Goa-gel-fullstack/backend/gen-hashes.js
Mahi 80566bf0a2 feat: Goa GEL Blockchain e-Licensing Platform - Full Stack Implementation
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
2026-02-07 10:23:29 -04:00

19 lines
485 B
JavaScript

const bcrypt = require('bcrypt');
const passwords = {
'Admin@123': 'admin@goa.gov.in',
'Fire@123': 'fire@goa.gov.in',
'Tourism@123': 'tourism@goa.gov.in',
'Municipality@123': 'municipality@goa.gov.in',
'Citizen@123': 'citizen@example.com'
};
async function generateHashes() {
for (const [password, email] of Object.entries(passwords)) {
const hash = await bcrypt.hash(password, 10);
console.log(`${email}: ${hash}`);
}
}
generateHashes().catch(console.error);