Skip to content

Conversation

@devinpearson
Copy link
Owner

No description provided.

@devinpearson devinpearson merged commit 0c6e95b into main Feb 23, 2023
@vercel
Copy link

vercel bot commented Feb 23, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
programmable-banking-sim ✅ Ready (Inspect) Visit Preview Feb 23, 2023 at 6:25PM (UTC)

@devinpearson devinpearson deleted the sqlite branch November 16, 2024 18:59
devinpearson pushed a commit that referenced this pull request Jul 9, 2025
* Add profile and KYC compliant fields to accounts

- Added Profile model with profileId and profileName
- Updated Account model with kycCompliant, profileId, and profileName fields
- Created profile seeding script with default profile (ID: 10001234567890, Name: Joe Soap)
- Updated account seeding to include profile references and KYC compliance
- Added database journal files to gitignore
- Applied Prisma migration to update existing database

This ensures production-like account responses for strict validation compatibility.

* Add updated database, edit migration

* Remove unused database switching functionality (#1)

- Removed DB_FILE environment variable from .env.sample
- Deleted legacy investec.db file
- Cleaned up commented DB_FILE reference in app.ts

* Add profile and KYC compliant fields to accounts (#2)

* Add profile and KYC compliant fields to accounts

- Added Profile model with profileId and profileName
- Updated Account model with kycCompliant, profileId, and profileName fields
- Created profile seeding script with default profile (ID: 10001234567890, Name: Joe Soap)
- Updated account seeding to include profile references and KYC compliance
- Added database journal files to gitignore
- Applied Prisma migration to update existing database

This ensures production-like account responses for strict validation compatibility.

* Add updated database, edit migration

* Add real-time database summary dashboard (#3)

* Add real-time database summary dashboard with Socket.IO

- Added Database Summary section showing live counts for profiles, accounts, cards, and transactions
- Implemented Socket.IO real-time updates for all database operations (create/delete accounts, transactions, clear/restore)
- Added /database-summary API endpoint with real-time emission via emitDatabaseSummary()
- Improved server logging to use req.originalUrl for complete path details
- Excluded internal database-summary calls from server logs to reduce noise
- Added .idea folder to .gitignore
* Update dev.db with test accounts and transactions
devinpearson pushed a commit that referenced this pull request Jul 24, 2025
* Remove unused database switching functionality (#1)

- Removed DB_FILE environment variable from .env.sample
- Deleted legacy investec.db file
- Cleaned up commented DB_FILE reference in app.ts

* Add profile and KYC compliant fields to accounts (#2)

* Add profile and KYC compliant fields to accounts

- Added Profile model with profileId and profileName
- Updated Account model with kycCompliant, profileId, and profileName fields
- Created profile seeding script with default profile (ID: 10001234567890, Name: Joe Soap)
- Updated account seeding to include profile references and KYC compliance
- Added database journal files to gitignore
- Applied Prisma migration to update existing database

This ensures production-like account responses for strict validation compatibility.

* Add updated database, edit migration

* Add profiles and dashboard summary (#4)

* Add profile and KYC compliant fields to accounts

- Added Profile model with profileId and profileName
- Updated Account model with kycCompliant, profileId, and profileName fields
- Created profile seeding script with default profile (ID: 10001234567890, Name: Joe Soap)
- Updated account seeding to include profile references and KYC compliance
- Added database journal files to gitignore
- Applied Prisma migration to update existing database

This ensures production-like account responses for strict validation compatibility.

* Add updated database, edit migration

* Add real-time database summary dashboard (#3)

* Add real-time database summary dashboard with Socket.IO

- Added Database Summary section showing live counts for profiles, accounts, cards, and transactions
- Implemented Socket.IO real-time updates for all database operations (create/delete accounts, transactions, clear/restore)
- Added /database-summary API endpoint with real-time emission via emitDatabaseSummary()
- Improved server logging to use req.originalUrl for complete path details
- Excluded internal database-summary calls from server logs to reduce noise
- Added .idea folder to .gitignore
* Update dev.db with test accounts and transactions

* Improve test coverage and robustness (#5)

* Improve test coverage and robustness

- Update account.spec.ts to include new profile fields (kycCompliant, profileId, profileName)
- Improve card.spec.ts with better timestamp validation instead of exact matching
- Enhance environmentalvariables.spec.ts with comprehensive structure validation
- Add new profile.spec.ts with comprehensive profile functionality testing
- Remove unnecessary comments from test files for cleaner code
- Fix TypeScript warnings with proper parameter types

* Remove remaining comments from test files

- Clean up card.spec.ts by removing unnecessary comments
- Clean up environmentalvariables.spec.ts by removing unnecessary comments
- Keep code clean and concise without explanatory comments

* Fix ESLint configuration and resolve linting issues

- Fix eslint.config.js max-len rule configuration with proper severity and options
- Fix Array() constructor usage in cards.ts to use array literal notation
- Fix line length issues in card.spec.ts by breaking long strings into concatenated lines
- Replace 'any' type with proper typing in profile.spec.ts
- All 26 tests still passing
- No ESLint errors remaining

* Add hide/show functionality for sensitive environment variables (#6)

- Client Secret and API Key fields now default to hidden state for security
- Toggle buttons positioned to the right of input fields with eye icons
- Client Secret uses password/text input type switching
- API Key uses conditional rendering between textarea and masked dots display
- Updated dashboard screenshot to reflect new UI changes

* Add basic health endpoint for service monitoring (#7)

- Implements GET /health endpoint returning HTTP 200 with { status: 'ok' }
- Provides simple service availability check for monitoring tools
- Lightweight response with no database dependencies

* Fix README typo and add health endpoint documentation (#8)

- Fixed typo: "room of the domain" to "root of the domain"
- Added /health endpoint to Dashboard section for completeness
- Preserved original formatting and structure

* Add scrollable logs container with auto-scroll functionality (#9)

- Added fixed height (300px) scrollable container for server logs
- Implemented auto-scroll to bottom when new log entries arrive
- Added custom scrollbar styling for better visibility
- Removed overflow-hidden from parent container to show scrollbar
- Enhanced log item padding and styling for better readability

* Add beneficiary deletion endpoint and fix TypeScript issues (#10)

* Update prisma database with latest schema changes (#11)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants