{"id":20563357,"url":"https://github.com/siddhant-vij/simple-authentication-system","last_synced_at":"2025-10-16T04:37:11.195Z","repository":{"id":192367873,"uuid":"683532502","full_name":"siddhant-vij/Simple-Authentication-System","owner":"siddhant-vij","description":"A terminal-based authentication system designed to showcase registration, login, and password reset functionality using a CSV-based storage.","archived":false,"fork":false,"pushed_at":"2023-09-04T05:20:41.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-16T19:37:08.235Z","etag":null,"topics":["authentication","csv","dart","hashing","login","registeration","reset-password"],"latest_commit_sha":null,"homepage":"","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/siddhant-vij.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-08-26T21:48:36.000Z","updated_at":"2023-10-03T16:26:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"4b2d47e7-67a7-44f9-baff-99d9bbfb6cf0","html_url":"https://github.com/siddhant-vij/Simple-Authentication-System","commit_stats":null,"previous_names":["siddhant-vij/simple-authentication-system"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siddhant-vij%2FSimple-Authentication-System","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siddhant-vij%2FSimple-Authentication-System/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siddhant-vij%2FSimple-Authentication-System/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siddhant-vij%2FSimple-Authentication-System/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/siddhant-vij","download_url":"https://codeload.github.com/siddhant-vij/Simple-Authentication-System/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242171653,"owners_count":20083600,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["authentication","csv","dart","hashing","login","registeration","reset-password"],"created_at":"2024-11-16T04:17:47.286Z","updated_at":"2025-10-16T04:37:06.142Z","avatar_url":"https://github.com/siddhant-vij.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Authentication System\n\nA terminal-based authentication system designed to showcase registration, login, and password reset functionality using a CSV-based storage.\n\n## Table of Contents\n\n1. [Features](#features)\n2. [Getting Started](#getting-started)\n    - [Prerequisites](#prerequisites)\n    - [Installation](#installation)\n3. [Usage](#usage)\n4. [Testing](#testing)\n5. [Contributing](#contributing)\n6. [Future Improvements](#future-improvements)\n7. [License](#license)\n8. [Acknowledgements](#acknowledgements)\n\n\u003cbr\u003e\n\n## Features\n\n- **User Authentication**: Register, log in, and reset passwords.\n- **CSV-Based Storage**: User data is stored and retrieved from a CSV file.\n- **Secure**: Passwords are hashed before being stored.\n- **CLI Interface**: Clear menu-driven CLI interface to interact with the system.\n- **Logout Feature**: Allow logged-in users to securely log out of the system.\n- **Password Strength Checker**: Enforce users to choose strong passwords during registration or reset.\n- **Forgot Password Mechanism**: Offer a mechanism for users to recover their password if forgotten.\n- **Delete Account Option**: Allow users to delete their account and all associated data.\n- **Lockout Mechanism**: Deter brute-force attempts by locking out after consecutive incorrect password attempts.\n\n\u003cbr\u003e\n\n## Getting Started\n\n### Prerequisites\n\n- Dart SDK: Ensure you have the Dart SDK installed. If not, get it from [here](https://dart.dev/get-dart).\n\n### Installation\n\n1. Clone the repository:\n    ```bash\n    git clone https://github.com/siddhant-vij/Simple-Authentication-System.git\n    ```\n\n2. Navigate to the project directory and fetch the dependencies:\n    ```bash\n    cd Simple-Authentication-System\n    dart pub get\n    ```\n\n\u003cbr\u003e\n\n## Usage\n\n1. Start the application:\n    ```bash\n    dart run\n    ```\n\n2. Follow the on-screen instructions to register, log in, and reset passwords if needed. User data will be stored in a `users.csv` file within the project directory.\n\n\u003cbr\u003e\n\n## Testing\n\nThis project comes with unit tests. To run them:\n\n```bash\ndart test\n```\n\n\u003cbr\u003e\n\n## Contributing\n\nContributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.\n\n1. **Fork the Project**\n2. **Create your Feature Branch**: \n    ```bash\n    git checkout -b feature/AmazingFeature\n    ```\n3. **Commit your Changes**: \n    ```bash\n    git commit -m 'Add some AmazingFeature'\n    ```\n4. **Push to the Branch**: \n    ```bash\n    git push origin feature/AmazingFeature\n    ```\n5. **Open a Pull Request**\n\n\u003cbr\u003e\n\n## Future Improvements\n\nBelow are some of the potential improvements and added functionalities that can enhance the Simple Authentication System:\n\n**1. Session Management**: A timeout mechanism that logs out the user after a certain period of inactivity.\n\n**2. Audit Log**: Maintain a log of all authentication activities for monitoring and security purposes.\n\n**3. Multi-Factor Authentication**: Introduce an option for users to enable additional security layers for logging in.\n\n**4. Backup and Recovery**: Design a backup mechanism to safeguard user data and ensure recovery options in case of system failures.\n\n**5. Transition to a Relational Database**: Migrate from a CSV-based system to a more robust relational database like PostgreSQL or MySQL for better scalability, performance, and security.\n\n**6. Database Backup**: Implement routine backups of the database to ensure data safety in case of unexpected failures.\n\n**7. Data Validation and Sanitization**: Enhance the system to validate and sanitize inputs more thoroughly to protect against SQL injection and other potential threats, especially if moving to a more complex database system.\n\n\n\u003cbr\u003e\n\n## License\n\nDistributed under the MIT License. See [`LICENSE`](https://github.com/siddhant-vij/Simple-Authentication-System/blob/main/LICENSE) for more information.\n\n\u003cbr\u003e\n\n## Acknowledgements\n\n- [Dart Language](https://dart.dev/)\n- [crypto package](https://pub.dev/packages/crypto)\n- [csv package](https://pub.dev/packages/csv)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiddhant-vij%2Fsimple-authentication-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsiddhant-vij%2Fsimple-authentication-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiddhant-vij%2Fsimple-authentication-system/lists"}