Skip to content

Conversation

@Vix1209
Copy link

@Vix1209 Vix1209 commented Aug 11, 2025

  1. Access token and refresh token generation via JWT, being sent on login to user

  2. Set up Role based Authentication with endpoints to seamlessly perform CRUD operations on the role table, having default roles seeded into the role table on database initilaization

  3. Added a new NGINX proxy to expose the swagger documentation running on http://localhost:2025/docs.

  4. Seperated the User and Auth table, and only selected in a specific user tabel query when needed, this is to totally seperate between the users public data and the private information suchg as passwords, tokens, etc that are needed only within the
    system

  5. Integrated the flow into the existing DOCKER setup, extending the docker-entrypoint.sh which calls the init_db.py script. handling the database migrations on server start.

  6. Commenced the mail service setup (Undone). creating a flexible token verification and token resend endpoint and service respectively, to handle all token verification depending on the "type" as described in the "VerificationType" enum.

  7. Commented the mail sending logic in the user register flow awaiting mail service completion.

  8. Integrating Sqlalchemy and alembic fordatabase queries and migration ease.

Yet Undone

  1. Completion of email service to efficiently send 6 digit token to registered users

feat: Add Docker entrypoint script for database readiness and migrations

feat: Create database initialization script to set up default roles and admin user

test: Implement authentication system tests for user registration, login, and role management
@Chukwuebuka-2003
Copy link

what SMTP provider do you intend to use?

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