Skip to content
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

Workflow #533

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open

Workflow #533

wants to merge 11 commits into from

Conversation

fantadiallo
Copy link

ESLint Configuration: Updated the ESLint configuration to include specific rules for Cypress and Jest environments, allowing for seamless integration of testing tools. This also includes adjustments to suppress unused variable warnings for test files.
Prettier Integration: Integrated Prettier for consistent code formatting across JavaScript, JSON, CSS, and Markdown files.
Pre-commit Hooks: Configured Husky to run linting and formatting checks before commits to maintain code quality in the repository.
Cypress Tests: Enhanced Cypress test files to ensure proper recognition of testing globals (cy, context, beforeEach, etc.) by ESLint, preventing no-undef errors.

fantadiallo and others added 11 commits October 20, 2024 17:40
- Added login function to store JWT token in browser storage upon successful authentication.
- Added logout function to clear the token from browser storage, ensuring user is logged out securely.
- Enable users to log in with valid credentials.
- Prevent submission with invalid credentials and display an error message.
- Allow users to log out using the logout button.
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.

1 participant