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

fix: Structured File system #218

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

1510darshan
Copy link

@1510darshan 1510darshan commented Oct 12, 2024

File: Structured file System

Closes #217

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 File System: Structured File system File: Structured File system Oct 12, 2024
@1510darshan 1510darshan changed the title File: Structured File system fix: Structured File system Oct 12, 2024
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

Successfully merging this pull request may close these issues.

1 participant