{"id":25860732,"url":"https://github.com/samuelmaiko/portfolio-backend","last_synced_at":"2025-08-02T11:05:11.210Z","repository":{"id":278708629,"uuid":"936507703","full_name":"SamuelMaiko/portfolio-backend","owner":"SamuelMaiko","description":"A Django backend for my portfolio, handling API requests and serving dynamic content.","archived":false,"fork":false,"pushed_at":"2025-07-08T21:19:27.000Z","size":2837,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-08T22:27:14.568Z","etag":null,"topics":["backend","django","drf","portfolio","pythonanywhere","swagger"],"latest_commit_sha":null,"homepage":"https://maikoportfolio.pythonanywhere.com/api/","language":null,"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/SamuelMaiko.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-02-21T07:54:15.000Z","updated_at":"2025-02-28T18:57:54.000Z","dependencies_parsed_at":"2025-02-21T09:27:25.278Z","dependency_job_id":"45889a9b-02aa-4aab-9a8f-3a2d6e2e081a","html_url":"https://github.com/SamuelMaiko/portfolio-backend","commit_stats":null,"previous_names":["samuelmaiko/portfolio-backend"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SamuelMaiko/portfolio-backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamuelMaiko%2Fportfolio-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamuelMaiko%2Fportfolio-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamuelMaiko%2Fportfolio-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamuelMaiko%2Fportfolio-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SamuelMaiko","download_url":"https://codeload.github.com/SamuelMaiko/portfolio-backend/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamuelMaiko%2Fportfolio-backend/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268378798,"owners_count":24240896,"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","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["backend","django","drf","portfolio","pythonanywhere","swagger"],"created_at":"2025-03-01T22:57:22.535Z","updated_at":"2025-08-02T11:05:11.200Z","avatar_url":"https://github.com/SamuelMaiko.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Portfolio Backend · [![license](https://img.shields.io/github/license/peaceiris/actions-gh-pages.svg)](LICENSE)\n\nThis is the backend for my portfolio site, built using **Django** and **Django REST Framework (DRF)**.  \nIt serves API endpoints for my portfolio during build time.\n\n## Technologies Used\n\n- Django\n- Django REST Framework (DRF)\n- MySQL.\n\n## Setup \u0026 Installation\n\n- Clone the repository and install dependencies:\n\n  ```\n  https://github.com/SamuelMaiko/portfolio-backend.git\n  ```\n\n- Then navigate to the project directory and create a virtual environment and activate it:\n\n  ```\n  cd your-backend-repo\n  python -m venv venv\n  ```\n\n  - On Windows\n\n    ```\n    venv\\Scripts\\activate\n    ```\n\n  - On macOS/Linux\n\n    ```\n    source venv/bin/activate\n    ```\n\n- Install dependencies\n\n  ```\n  pip install -r requirements.txt\n  ```\n\n- Apply migrations\n  ```\n  python manage.py migrate\n  ```\n- Create a super user\n  ```\n  python manage.py createsuperuser\n  ```\n- Run development server\n\n  ```\n  python manage.py runserver\n  ```\n\n  Then visit: 🔗 http://127.0.0.1:8000\n\n  ## API Endpoints\n\n  | Method | Endpoint                        | Description                                                                         |\n  | ------ | ------------------------------- | ----------------------------------------------------------------------------------- |\n  | GET    | `/api/portfolio/`               | Fetches all portfolio data such as projects, skills, contact details, education etc |\n  | POST   | `/api/contactme/receive-email/` | Receives email from frontend stores it and sends it to owner email                  |\n\n  ⚡ **All these endpoints generate JSON data used by the frontend during build time.**\n\n  ***\n\n## Deployment\n\nThis backend is deployed on **[PythonAnywhere](https://www.pythonanywhere.com/)** 🚀\n\nYou can access the live API at:  \n🔗 https://maikoportfolio.pythonanywhere.com/admin/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamuelmaiko%2Fportfolio-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamuelmaiko%2Fportfolio-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamuelmaiko%2Fportfolio-backend/lists"}