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

File System: Update File System #217

Closed
wants to merge 3 commits into from

Conversation

1510darshan
Copy link

@1510darshan 1510darshan commented Oct 12, 2024

File System: Updated File System

Closes #177

The Auth Controller takes care of everything related to user accounts. This includes registering new users, logging them in and out, and handling logins through Google and Facebook using oAuth.
The Secret Controller is responsible for managing user secrets. It retrieves secrets from the database, allows users to submit their own, and also handles the voting system (upvotes/downvotes) for those secrets.

Views:

The app’s web pages are created using EJS (Embedded JavaScript) templates. These templates dynamically generate the content you see on pages like the login screen, registration form, or the secret-sharing page. It ensures that the user interface is both interactive and responsive.
Routing:

Each part of the app is mapped to specific actions. For instance, when a user wants to view secrets, register, or log in, their requests are sent to the appropriate controller function. These routes connect the user’s actions (like clicking a button) to the backend logic that makes everything work.

Checklist

  • My code adheres to the established style guidelines of the project.
  • I have included comments in areas that may be difficult to understand.
  • My changes have not introduced any new warnings.
  • I have conducted a self-review of my code.

@1510darshan 1510darshan changed the title Update File Structure File System: Update File System Oct 12, 2024
@1510darshan 1510darshan mentioned this pull request Oct 12, 2024
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

file system is not structured
1 participant