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

implement auth #16

Merged
merged 2 commits into from
Feb 4, 2024
Merged

implement auth #16

merged 2 commits into from
Feb 4, 2024

Conversation

Amaka202
Copy link
Collaborator

@Amaka202 Amaka202 commented Feb 4, 2024

Description

The PR implements authentication on the application

Related Issue

closes #1

Acceptance Criteria

[x] The useAuth hook as well as the SignInButton and SignOutButton components are imported into Layout.jsx.
[x] The SignInButton is displayed on every page if the user is not signed in.
[x] The SignOutButton is displayed on every page if the user is signed in.

Type of Changes

Feature

Updates

Before

Screenshot 2024-02-04 at 7 39 05 PM

After

Screenshot 2024-02-04 at 7 39 29 PM

Testing Steps / QA Criteria

  • pull down the branch elit_amaka_sign_in
  • run install
  • start the serve with npm start
  • navigate to the UI, you will see the sign up and sign in buttons

Copy link

github-actions bot commented Feb 4, 2024

Visit the preview URL for this PR (updated for commit 56e5884):

https://tcl-71-smart-shopping-list--pr16-elit-amaka-sign-in-57queb7u.web.app

(expires Sun, 11 Feb 2024 18:42:34 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 1e7ade9d0f374c4ddb5d7ab6fc541062fc7a1ab4

Copy link
Collaborator

@llyorshch llyorshch left a comment

Choose a reason for hiding this comment

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

Well done! 👏

@llyorshch llyorshch merged commit 07ff6af into main Feb 4, 2024
2 checks passed
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. As a user, I want to be able to sign in to the app.
2 participants