You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Welcome to the fifth homework assignment in the Fullstack Bootcamp, where we continue to build upon the foundation laid by our previous projects, especially those emphasizing HTTP requests. This module signifies a shift in focus towards more advanced features.
15
-
In this stage, we explore the integration of sophisticated functionalities, such as the ability to add avatars for users upon creation. This enhancement not only adds a personalized touch to user profiles but also enriches the overall user experience.
16
-
Additionally, we delve into the world of Jest unit testing, ensuring the reliability and robustness of our application. This step reflects our commitment to delivering high-quality Fullstack solutions. As we integrate these innovations, we look forward to the unfolding possibilities on our journey of continuous skill development.
13
+
The sixth homework assignment marks a pivotal advancement in our ongoing project, seamlessly building upon the foundations established in prior modules. In this iteration, we introduce a critically important feature—email verification—leveraging the robust capabilities of the Nodemailer API. This module is meticulously crafted with a singular focus: to fortify user security and elevate the precision of access control mechanisms within our application.
17
14
18
-
## Homework5: External REST API Integration, Avatar Management, and Jest Testing
15
+
## Homework6: Email Verification with Nodemailer
19
16
20
-
The fifth homework assignment builds upon the solid foundation of previous projects, expanding the capabilities of the application to include external REST API integration, avatar management, and Jest testing for enhanced functionality and reliability.
17
+
The sixth homework assignment builds upon prior projects, introduces a crucial feature—email verification using the Nodemailer API. This module is dedicated to fortifying user security and refining access control within our application.
21
18
22
19
## API Endpoints
23
20
@@ -37,25 +34,15 @@ The fifth homework assignment builds upon the solid foundation of previous proje
37
34
-**(POST) `/api/users/logout`:** Logout the user.
38
35
-**(GET) `/api/users/current`:** Retrieve information about the currently logged-in user.
39
36
-**(PATCH) `/api/users/avatars`:** Change the user's avatar.
37
+
-**(GET) `/api/users/verify/:verificationToken`:** Verify the user's email address using the provided token.
38
+
-**(POST) `/api/users/verify`:** Request a second verification email.
-**(GET) `/api/contacts?favorite=true`:** Retrieve contacts marked as favorites.
45
44
-**(PATCH) `/api/users`:** Update the user's subscription level.
46
45
47
-
## Avatar Management
48
-
49
-
- Avatars are automatically generated for new users using the  package.
50
-
- Introduces a new endpoint `(PATCH) /api/users/avatars` for users to change their avatars.
51
-
- Jimp package is utilized for image processing related to avatars.
52
-
53
-
## Jest Testing for Login
54
-
55
-
- Implements  testing to ensure the robustness of the login functionality.
56
-
- Unit tests are created to validate the authentication system, enhancing the overall reliability of the application.
57
-
- Run tests using `npm run test` script defined in the package.json file.
58
-
59
46
## Technologies Used
60
47
61
48
-: The runtime environment for executing the application.
@@ -64,8 +51,7 @@ The fifth homework assignment builds upon the solid foundation of previous proje
64
51
-: Used for user authentication.
65
52
-: A web application framework for building RESTful APIs.
66
53
-: Data interchange format used in the project.
67
-
-:JavaScript testing framework ensuring code reliability and simplicity.
68
-
-: Global avatar service for user profile images linked to email addresses.
54
+
-: Email sending module for Node.js.
69
55
70
56
## Issues
71
57
@@ -75,6 +61,7 @@ If you encounter any issues or have suggestions, please [open an issue](https://
75
61
76
62
I welcome feedback and suggestions from users to improve the application's functionality and user experience.
77
63
64
+
78
65
## Languages and Tools:
79
66
80
67
<divalign="center">
@@ -84,4 +71,5 @@ I welcome feedback and suggestions from users to improve the application's funct
0 commit comments