-
Notifications
You must be signed in to change notification settings - Fork 0
feat: Implement Detran V2 #10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
HomayoonAlimohammadi
wants to merge
16
commits into
main
Choose a base branch
from
feat/detran-v2
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Homayoon Alimohammadi <homayoonalimohammadi@gmail.com>
… logging for default JWT secret Signed-off-by: Homayoon Alimohammadi <homayoonalimohammadi@gmail.com>
…n functionality Signed-off-by: Homayoon Alimohammadi <homayoonalimohammadi@gmail.com>
…t status models Signed-off-by: Homayoon Alimohammadi <homayoonalimohammadi@gmail.com>
Signed-off-by: Homayoon Alimohammadi <homayoonalimohammadi@gmail.com>
…ment integration, including custom exceptions and repository models Signed-off-by: Homayoon Alimohammadi <homayoonalimohammadi@gmail.com>
…agent access Signed-off-by: Homayoon Alimohammadi <homayoonalimohammadi@gmail.com>
…rchestrator routing Signed-off-by: Homayoon Alimohammadi <homayoonalimohammadi@gmail.com>
…payment - Created `AuthContext.tsx` for authentication state management (login, register, logout). - Developed `useRenewalFlow.ts` hook to manage the renewal process state (form, payment, confirmation). - Added `LoginForm.tsx` for user authentication with validation. - Implemented `RenewalForm.tsx` for CNH renewal input (CPF, CNH number, mirror) with validation. - Created `PaymentQR.tsx` to display Lightning payment QR code and amount. - Developed `PaymentStatus.tsx` to show payment confirmation status (pending/paid). - Integrated components into `CopilotKitPage.tsx` for seamless user experience. - Added `qrcode.react` dependency for QR code generation. Signed-off-by: Homayoon Alimohammadi <homayoonalimohammadi@gmail.com>
…PostgreSQL setup Signed-off-by: Homayoon Alimohammadi <homayoonalimohammadi@gmail.com>
…tion steps - Updated `useRenewalFlow` hook to fetch operation price from API and handle default pricing. - Added new state for form confirmation before ticket creation. - Implemented error handling for API calls and improved state management. - Introduced new `editForm` function to allow users to return to the form from confirmation. - Created comprehensive design document for DETRAN-SP v2, detailing architecture, data models, and API specifications. - Added technical design document for citizen services, outlining user flow and database schema. Signed-off-by: Homayoon Alimohammadi <homayoonalimohammadi@gmail.com>
…ESIGN.md review Signed-off-by: Homayoon Alimohammadi <homayoonalimohammadi@gmail.com>
… updates for renewal flow Signed-off-by: Homayoon Alimohammadi <homayoonalimohammadi@gmail.com>
Signed-off-by: Homayoon Alimohammadi <homayoonalimohammadi@gmail.com>
Signed-off-by: Homayoon Alimohammadi <homayoonalimohammadi@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR implements the V2 of the Detran project.