{"id":18866740,"url":"https://github.com/manavalan2517/login-and-register-system-in-python","last_synced_at":"2025-07-04T10:35:38.861Z","repository":{"id":230633156,"uuid":"779599570","full_name":"Manavalan2517/Login-and-Register-System-in-Python","owner":"Manavalan2517","description":"This Python script is a comprehensive solution for managing user authentication, which includes both registration and login functionalities. It utilizes a local JSON file to store user credentials securely.","archived":false,"fork":false,"pushed_at":"2024-04-01T07:00:30.000Z","size":1333,"stargazers_count":9,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-14T14:58:51.666Z","etag":null,"topics":["authentication","interactive","json","py3","python","realtime","regex","security","terminal","user-management"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Manavalan2517.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-30T09:09:11.000Z","updated_at":"2025-03-09T10:28:09.000Z","dependencies_parsed_at":"2024-03-31T01:31:03.939Z","dependency_job_id":"85ca6d5d-4707-4a18-8bd7-108615f12f78","html_url":"https://github.com/Manavalan2517/Login-and-Register-System-in-Python","commit_stats":null,"previous_names":["manavalan2517/real-time-authentication-system-in-python","manavalan-v/login-and-register-system-in-python","manavalan2517/login-and-register-system-in-python"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Manavalan2517/Login-and-Register-System-in-Python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Manavalan2517%2FLogin-and-Register-System-in-Python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Manavalan2517%2FLogin-and-Register-System-in-Python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Manavalan2517%2FLogin-and-Register-System-in-Python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Manavalan2517%2FLogin-and-Register-System-in-Python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Manavalan2517","download_url":"https://codeload.github.com/Manavalan2517/Login-and-Register-System-in-Python/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Manavalan2517%2FLogin-and-Register-System-in-Python/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263493704,"owners_count":23475264,"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","interactive","json","py3","python","realtime","regex","security","terminal","user-management"],"created_at":"2024-11-08T05:07:22.968Z","updated_at":"2025-07-04T10:35:38.806Z","avatar_url":"https://github.com/Manavalan2517.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Authentication System in Python\n\n![Thumbnail](https://github.com/Manavalan2517/Real-Time-Authentication-System-in-Python/blob/main/Samples/Real%20Time%20Authentication%20System%20in%20Python.jpg)\n\n## This project is just a basic method of securing users data\n\nThis project provides a comprehensive user authentication and management system, consisting of three main Python files: `main.py`, `server.py`, and `client.py`. The system supports user registration, login, and account deletion, while ensuring secure password storage using bcrypt hashing. Additionally, the project includes a JSON file (`data.json`) to store user data.\n\n## File Descriptions\n\n1. `main.py`: A command-line interface (CLI) application that allows users to register, log in, and delete their accounts. The application uses the `questionary` library to create interactive prompts and the `bcrypt` library to securely hash and verify passwords.\n2. `server.py`: A FastAPI-based server that exposes RESTful endpoints for user registration, login, and account deletion. The server also utilizes `bcrypt` for password hashing and verification, and stores user data in a JSON file.\n3. `client.py`: A client application that interacts with the FastAPI server using the `requests` library. The client demonstrates how to register, log in, and delete user accounts by sending HTTP requests to the server's endpoints.\n\n## Features\n\n- User registration with password validation (minimum length, uppercase, lowercase, and numeric character requirements) and email validation.\n- Secure password storage using bcrypt hashing.\n- User login with case-insensitive username support.\n- Account deletion for registered users.\n- JSON-based data storage for user information.\n\n## Requirements\n\n- Python 3.6 or newer\n- `uvicorn` (for running the FastAPI server)\n- `fastapi`\n- `bcrypt`\n- `questionary` (for the CLI application)\n- `requests` (for the client application)\n\n## Getting Started\n\n1. Install the required packages:\n```bash\npip install uvicorn fastapi bcrypt questionary requests\n```\n2. Run the FastAPI server:\n```bash\npython server.py\n```\nThe server will start listening on `http://localhost:8000`.\n\n3. Use the CLI application (`main.py`) to use auth locally and the client (`client.py`) to interact with the server.\n\n## Notes\n\n- The CLI application (`main.py`) can be run independently of the server and uses its own instance of the JSON data file.\n- The client application (`client.py`) communicates with the server (`server.py`) and shares the same JSON data file as the server.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanavalan2517%2Flogin-and-register-system-in-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmanavalan2517%2Flogin-and-register-system-in-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanavalan2517%2Flogin-and-register-system-in-python/lists"}