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

Add Security Improvements Using Morgan and Helmet #670

Open
NirajD04 opened this issue Oct 31, 2024 · 0 comments
Open

Add Security Improvements Using Morgan and Helmet #670

NirajD04 opened this issue Oct 31, 2024 · 0 comments

Comments

@NirajD04
Copy link

Issue Description
Summary: Implement security enhancements in the application by integrating the following libraries:

Morgan: This middleware will log HTTP requests for monitoring and debugging purposes.
Helmet: This middleware will help secure the app by setting various HTTP headers.
Details:

Add Morgan:

Integrate Morgan for logging HTTP requests to the console.
Configure logging format to include timestamps and HTTP method details.
Add Helmet:

Integrate Helmet to set secure HTTP headers.
Ensure all routes utilize Helmet for improved security.

Benefits:

Enhances the overall security posture of the application.
Facilitates easier debugging and monitoring through HTTP request logging.
Acceptance Criteria:

Morgan logs are visible in the console during server operations.
Helmet is configured and active, setting appropriate security headers.

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

No branches or pull requests

1 participant