Skip to content

Instantly share code, notes, and snippets.

@mcsee
Last active March 8, 2026 11:08
Show Gist options
  • Select an option

  • Save mcsee/87997843376e51fcb5701de7d6ea1e02 to your computer and use it in GitHub Desktop.

Select an option

Save mcsee/87997843376e51fcb5701de7d6ea1e02 to your computer and use it in GitHub Desktop.
This gist belongs to the Clean Code Cookbook https://cleancodecookbook.com by Maximiliano Contieri https://maximilianocontieri.com

I am starting a new session. Here is the current state:

We use PostgreSQL with the 'Users' table schema [ID, Email].

The AuthService`interface is [login(), logout()].

Refactor the LoginComponent` to use these.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment