{"id":27129477,"url":"https://github.com/sumit0ubey/postapp","last_synced_at":"2026-04-20T13:02:50.008Z","repository":{"id":283679121,"uuid":"952505407","full_name":"Sumit0ubey/PostAPP","owner":"Sumit0ubey","description":"PostAPP is a RESTful API built using FastAPI and PostgreSQL. It provides endpoints for creating, reading, updating, and deleting (CRUD) posts. Designed for high performance and scalability, this API leverages FastAPI's asynchronous capabilities for efficient request handling.","archived":false,"fork":false,"pushed_at":"2025-05-24T14:52:55.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-04T18:18:33.180Z","etag":null,"topics":["fastapi","heroku","postgres","render","sqlalchemy"],"latest_commit_sha":null,"homepage":"https://postapp-ah7w.onrender.com/docs","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/Sumit0ubey.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,"zenodo":null}},"created_at":"2025-03-21T11:45:32.000Z","updated_at":"2025-05-28T08:38:20.000Z","dependencies_parsed_at":"2025-06-09T07:34:09.085Z","dependency_job_id":null,"html_url":"https://github.com/Sumit0ubey/PostAPP","commit_stats":null,"previous_names":["sumit0ubey/postapi","sumit0ubey/postapp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Sumit0ubey/PostAPP","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sumit0ubey%2FPostAPP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sumit0ubey%2FPostAPP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sumit0ubey%2FPostAPP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sumit0ubey%2FPostAPP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sumit0ubey","download_url":"https://codeload.github.com/Sumit0ubey/PostAPP/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sumit0ubey%2FPostAPP/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32048444,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T11:35:06.609Z","status":"ssl_error","status_checked_at":"2026-04-20T11:34:48.899Z","response_time":94,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["fastapi","heroku","postgres","render","sqlalchemy"],"created_at":"2025-04-07T19:56:24.240Z","updated_at":"2026-04-20T13:02:50.003Z","avatar_url":"https://github.com/Sumit0ubey.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## PostAPP\n\nPostAPP is a RESTful API built using **FastAPI** and **PostgreSQL** to manage posts efficiently. It provides CRUD operations and follows RESTful principles, ensuring high performance and seamless integration.\n\n## Features\n- FastAPI-based backend for high-speed API requests\n- PostgreSQL for reliable and scalable data storage\n- CRUD operations for managing posts\n- JSON-based responses for easy frontend integration\n- Asynchronous request handling for better performance\n\n## Installation\n\n### Prerequisites\nEnsure you have the following installed on your system:\n- Python 3.8+\n- PostgreSQL\n- pip\n\n### Setup\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/Sumit0ubey/PostAPP.git\n   cd PostAPP\n   ```\n2. Create and activate a virtual environment:\n   ```bash\n   python -m venv venv\n   source venv/bin/activate   # On macOS/Linux\n   venv\\Scripts\\activate      # On Windows\n   ```\n3. Install dependencies:\n   ```bash\n   pip install -r requirements.txt\n   ```\n4. Set up environment variables for PostgreSQL connection:\n   ```bash\n   export DATABASE_URL=\"postgresql://username:password@localhost/dbname\"\n   ```\n5. Run the FastAPI server:\n   ```bash\n   uvicorn main:app --reload\n   ```\n\n## API Endpoints\n\n| Method | Endpoint       | Description          |\n|--------|---------------|----------------------|\n| GET    | `/`           | Retrieve APP info   |\n| GET    | `/posts`      | Retrieve all posts  |\n| GET    | `/posts/{id}` | Get a specific post |\n| POST   | `/posts`      | Create a new post   |\n| PUT    | `/posts/{id}` | Update a post       |\n| DELETE | `/posts/{id}` | Delete a post       |\n| PUT    | `/likes`      |Like a specific posts|\n| POST   | `/users`      | Create a new user   |\n| GET    | `/users/`     | Get all user        |\n| GET    | `/users/{id}` | Get a user          |\n| POST   | `/auth/login` | login as a user     |\n| GET    | `/auth/logout`| logout a user       |\n\n\n## Author\nDeveloped by [Sumit dubey](https://github.com/Sumit0ubey).\n\n\n## Project link\nThis project is open-source for educational and reference purposes. It is hosted at:\n🔗 [Post API](https://postapp-ah7w.onrender.com/docs)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsumit0ubey%2Fpostapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsumit0ubey%2Fpostapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsumit0ubey%2Fpostapp/lists"}