Skip to content

implement login and register forms with react-router-dom#53

Merged
MooZeK merged 3 commits into
mainfrom
login-feature#musialek007
Apr 25, 2026
Merged

implement login and register forms with react-router-dom#53
MooZeK merged 3 commits into
mainfrom
login-feature#musialek007

Conversation

@musialek007
Copy link
Copy Markdown
Contributor

@musialek007 musialek007 commented Apr 22, 2026

I have implemented the foundational structure for the logn system.

Key Improvements:

  • UI/UX Design: Implemented layouts for Login and Register
  • API Integration: Created a base Axios instance in src/api/client.ts with baseURL and automatic JWT token injection via interceptors.
  • Authentication Logic: Connected Login and Register forms to the backend API.
  • Form Validation: Added client-side checks for password matching and minimum length.

Current Status:


Important

Note for Reviewers: Since I've implemented protected routes, you won't be able to access the main layout without being logged in. Please use the /register view first to create a local user in your database.

Comment thread src/components/ui/LoginForm.tsx Fixed
Copy link
Copy Markdown
Collaborator

@MooZeK MooZeK left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

@MooZeK MooZeK merged commit 45d9c9b into main Apr 25, 2026
2 checks passed
@MooZeK MooZeK deleted the login-feature#musialek007 branch May 19, 2026 17:05
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.

login screen Axios Configuration

3 participants