{"id":23391726,"url":"https://github.com/joeldeondsouza/py_backend","last_synced_at":"2026-04-29T17:05:05.376Z","repository":{"id":233845625,"uuid":"787905514","full_name":"JoelDeonDsouza/PY_Backend","owner":"JoelDeonDsouza","description":"Simple Backend for user management with Flask(Python)","archived":false,"fork":false,"pushed_at":"2024-04-17T12:16:06.000Z","size":5,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-08T14:52:32.984Z","etag":null,"topics":["flask","flask-cors","python","python3","sqlalchemy","sqlalchemy-database"],"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/JoelDeonDsouza.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-04-17T12:07:47.000Z","updated_at":"2024-04-19T14:28:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"22b11cb0-7a27-43ed-a901-ac6395fdee15","html_url":"https://github.com/JoelDeonDsouza/PY_Backend","commit_stats":null,"previous_names":["joeldeondsouza/py_backend"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/JoelDeonDsouza/PY_Backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoelDeonDsouza%2FPY_Backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoelDeonDsouza%2FPY_Backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoelDeonDsouza%2FPY_Backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoelDeonDsouza%2FPY_Backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JoelDeonDsouza","download_url":"https://codeload.github.com/JoelDeonDsouza/PY_Backend/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JoelDeonDsouza%2FPY_Backend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32435122,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T13:34:34.882Z","status":"ssl_error","status_checked_at":"2026-04-29T13:34:29.830Z","response_time":110,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["flask","flask-cors","python","python3","sqlalchemy","sqlalchemy-database"],"created_at":"2024-12-22T04:19:26.222Z","updated_at":"2026-04-29T17:05:05.367Z","avatar_url":"https://github.com/JoelDeonDsouza.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# User Management API\n\nThis Flask application provides a simple API for managing users including creating, retrieving, updating, and deleting user records in a database.\n\n## Installation\n\n```bash\nhttps://github.com/JoelDeonDsouza/PY_Backend.git\n```\n\n1. Clone this repository to your local machine.\n2. Install the required dependencies by running `pip install -r requirements.txt`.\n3. Set up the database configuration in the `config.py` file.\n4. Run the application using `python main.py || python3 main.py`.\n\n## Usage\n\n### Get Users\n- **Endpoint:** `/users`\n- **Method:** `GET`\n- **Description:** Retrieves a list of all users stored in the database.\n- **Response:** Returns a JSON object containing the list of users.\n\n### Create User\n- **Endpoint:** `/create_user`\n- **Method:** `POST`\n- **Description:** Creates a new user record in the database.\n- **Request Body:** Requires a JSON object with `name` and `email` fields.\n- **Response:** Returns a success message if the user is created successfully.\n\n### Update User\n- **Endpoint:** `/update_user/\u003cuser_id\u003e`\n- **Method:** `PATCH`\n- **Description:** Updates an existing user record in the database.\n- **Parameters:** Requires the `user_id` of the user to be updated.\n- **Request Body:** Accepts a JSON object with optional `name` and `email` fields to be updated.\n- **Response:** Returns a success message if the user is updated successfully.\n\n### Delete User\n- **Endpoint:** `/delete_user/\u003cuser_id\u003e`\n- **Method:** `DELETE`\n- **Description:** Deletes an existing user record from the database.\n- **Parameters:** Requires the `user_id` of the user to be deleted.\n- **Response:** Returns a success message if the user is deleted successfully.\n\n## Running the Application\n\nTo run the application, execute `python main.py || python3 main.py` in your terminal. By default, the application runs in debug mode.\n\n## Note\n\nMake sure to set up the database configuration in the `config.py` file before running the application.\n\n```python\n# config.py\n\napp.config['SQLALCHEMY_DATABASE_URI'] = 'your_database_uri_here'","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoeldeondsouza%2Fpy_backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoeldeondsouza%2Fpy_backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoeldeondsouza%2Fpy_backend/lists"}