{"id":23219439,"url":"https://github.com/codegeek004/parkeasy-api","last_synced_at":"2025-04-05T15:11:43.803Z","repository":{"id":267468047,"uuid":"901347918","full_name":"codegeek004/ParkEasy-API","owner":"codegeek004","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-22T10:25:18.000Z","size":220,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-22T11:25:47.170Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/codegeek004.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-12-10T13:48:46.000Z","updated_at":"2025-03-22T10:25:21.000Z","dependencies_parsed_at":"2025-03-22T11:33:50.535Z","dependency_job_id":null,"html_url":"https://github.com/codegeek004/ParkEasy-API","commit_stats":null,"previous_names":["codegeek004/parkeasy-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codegeek004%2FParkEasy-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codegeek004%2FParkEasy-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codegeek004%2FParkEasy-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codegeek004%2FParkEasy-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codegeek004","download_url":"https://codeload.github.com/codegeek004/ParkEasy-API/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247353742,"owners_count":20925329,"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":[],"created_at":"2024-12-18T21:32:36.089Z","updated_at":"2025-04-05T15:11:43.795Z","avatar_url":"https://github.com/codegeek004.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Security-Enhanced Django Project\n\nThis project demonstrates the implementation of multiple security features in a Django application, focusing on enhancing authentication, access control, and protection against common web attacks.\n\n## Features Implemented\n\n-   **Multi-Factor Authentication (MFA)**: Adds an extra layer of security by requiring multiple forms of verification.\n-   **Captcha**: Prevents automated bots from accessing the application.\n-   **OAuth**: Enables secure, token-based authentication using third-party providers.\n-   **Single Sign-On (SSO)**: Allows users to authenticate once and access multiple applications.\n-   **DDoS Protection**: Basic measures to detect and mitigate distributed denial-of-service attacks.\n-   **\"Remember Me\" Functionality**: Allows users to stay logged in across sessions.\n-   **Throttling and Rate Limiting**: Protects the API from excessive usage and abuse.\n\n## Requirements\n\n-   Python 3.x\n-   Django\n-   djangorestframework\n-   django-axes (for DDoS protection)\n-   django-simple-captcha\n-   django-oauth-toolkit\n-   django-allauth (for OAuth and SSO)\n\n## Installation\n\n1.  **Clone the repository**\n\n```bash\ngit clone \u003cyour-repo-url\u003e\ncd \u003cyour-repo-directory\u003e\n\n```\n\n2.  **Create a virtual environment and activate it**\n\n```bash\npython3 -m venv venv\nsource venv/bin/activate  # On Windows, use venv\\Scripts\\activate\n\n```\n\n3.  **Install the dependencies**\n\n```bash\npip install -r requirements.txt\n\n```\n\n## Running the Server\n\n```bash\npython manage.py runserver\n\n```\n\nBy default, the server will start at `http://127.0.0.1:8000`.\n\n## Usage\n\n### Multi-Factor Authentication\n\n-   Enabled during the login process with an OTP sent to the user's email or mobile.\n\n### Captcha\n\n-   Integrated into the login and registration forms to prevent automated access.\n\n### OAuth and SSO\n\n-   Configured with popular providers (Google, Facebook, etc.).\n-   SSO enabled for internal applications.\n\n### DDoS Protection\n\n-   Basic protection implemented using request throttling and django-axes.\n\n### \"Remember Me\"\n\n-   Checkbox option in the login form to keep users logged in.\n\n### Throttling and Rate Limiting\n\n-   Configured for API endpoints using Django REST Framework's throttling classes.\n\n## Testing the API\n\nYou can test the API using tools like:\n\n-   [Postman](https://www.postman.com/)\n-   `curl`\n-   Browsable API interface at `http://127.0.0.1:8000/api/`\n\n### Example Using Curl\n\n```bash\ncurl -X GET http://127.0.0.1:8000\n\n```\n\n### Example Using Requests in Python\n\n```python\nimport requests\nresponse = requests.get(\"http://127.0.0.1:8000\")\nprint(response.json())\n\n```\n\n## Note\n\n-   Replace `'127.0.0.1:8000'` with your actual API URL if different.\n-   Ensure the server is running before sending requests.\n\n## License\n\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodegeek004%2Fparkeasy-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodegeek004%2Fparkeasy-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodegeek004%2Fparkeasy-api/lists"}