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

3. PROFILE(BACKEND): Work on "authMiddleware.js" and "userController.js" #73

Open
trimakichan opened this issue May 10, 2023 · 1 comment
Assignees

Comments

@trimakichan
Copy link
Collaborator

In authMiddleware.js

  • Create an "authMiddleware.js" in the middleware folder.
  • Write a "protect" function with try and catch.
    Note: don't forget to import necessary libraries and a data model.

In userController.js

  • Write a "getUserProfile" function
@trimakichan trimakichan converted this from a draft issue May 10, 2023
@vuquanh vuquanh moved this from Todo to In Progress in Kal - Event Page May 13, 2023
@vuquanh
Copy link
Owner

vuquanh commented May 13, 2023

added to ANH - authMiddleware.js - there is block of code i didnt see on video but on her code..

@trimakichan trimakichan moved this from In Progress to Redux Back-End Done -SM: Makiko in Kal - Event Page May 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Back-End Done -SM: Makiko
Development

No branches or pull requests

2 participants