Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add custom middleware for authentication in MVC architecture
- Implemented middleware to restrict access to protected routes based on user authentication. - Integrated middleware with routes like and to enforce secure access. - Configured session-based authentication to track user login status effectively. - Enhanced templates with conditional rendering based on user authentication state using Handlebars. - Provided setup instructions for environment variables, database seeding, and running the application. - Ensured unauthorized users are redirected to the login page, maintaining a secure and consistent workflow.
- Loading branch information