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
This commit is contained in:
18
backend/gen-hashes.js
Normal file
18
backend/gen-hashes.js
Normal file
@@ -0,0 +1,18 @@
|
||||
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);
|
||||
Reference in New Issue
Block a user