{"id":26497939,"url":"https://github.com/deepsingh132/portfolio-api","last_synced_at":"2026-04-11T00:38:54.079Z","repository":{"id":207634855,"uuid":"719722804","full_name":"deepsingh132/portfolio-api","owner":"deepsingh132","description":"🚀 Dynamically showcase your GitHub pinned repositories on your portfolio website with this Node.js Express API.","archived":false,"fork":false,"pushed_at":"2023-11-16T20:56:31.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-11-17T21:09:58.319Z","etag":null,"topics":["api","express","github","graphql","node","nodejs","pinned","pinned-repos","portfolio","repositories","typescript"],"latest_commit_sha":null,"homepage":"https://portfolio-api-jade.vercel.app/api/v1/github/pinned-repos","language":"TypeScript","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/deepsingh132.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}},"created_at":"2023-11-16T19:06:43.000Z","updated_at":"2023-11-16T22:24:39.000Z","dependencies_parsed_at":"2023-11-16T21:10:06.330Z","dependency_job_id":"bb5612f2-705a-42d0-9a11-67d62aeef843","html_url":"https://github.com/deepsingh132/portfolio-api","commit_stats":null,"previous_names":["deepsingh132/portfolio-api"],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepsingh132%2Fportfolio-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepsingh132%2Fportfolio-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepsingh132%2Fportfolio-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepsingh132%2Fportfolio-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deepsingh132","download_url":"https://codeload.github.com/deepsingh132/portfolio-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244624007,"owners_count":20483257,"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":["api","express","github","graphql","node","nodejs","pinned","pinned-repos","portfolio","repositories","typescript"],"created_at":"2025-03-20T14:00:54.929Z","updated_at":"2025-12-31T00:05:09.286Z","avatar_url":"https://github.com/deepsingh132.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub Pinned Repositories API\n\nThis Node.js Express application serves as an API to fetch pinned repositories from GitHub, designed specifically for integration with a portfolio website. By using this API, you can dynamically display your GitHub pinned repositories on your portfolio site, keeping it up-to-date with your latest projects.\n\n## Table of Contents\n\n- [Installation](#installation)\n- [Usage](#usage)\n- [Endpoints](#endpoints)\n- [Configuration](#configuration)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Installation\n\n1. Clone the repository:\n\n    ```bash\n    git clone https://github.com/deepsingh132/portfolio-api.git\n    ```\n\n2. Navigate to the project directory:\n\n    ```bash\n    cd portfolio-api\n    ```\n\n3. Install dependencies:\n\n    ```bash\n    npm install\n    ```\n\n4. Create a `.env` file in the root directory and add your GitHub access token:\n\n    ```env\n    GITHUB_ACCESS_TOKEN=your-github-access-token\n    ```\n\n    Note: Ensure your GitHub access token has the `repo` scope.\n\n5. Start the server:\n\n    ```bash\n    npm start\n    ```\n\n## Usage\n\nOnce the server is running, you can make HTTP requests to the specified endpoints to retrieve your pinned repositories.\n\n## Endpoints\n\n### Get Pinned Repositories\n\n- **Endpoint**: `/api/v1/github/pinned-repos`\n- **Method**: `GET`\n- **Description**: Fetches the pinned repositories from the authenticated user's GitHub account.\n- **Example Request**:\n\n    ```bash\n    curl http://localhost:5000/api/v1/github/pinned-repos\n    ```\n\n- **Example Response**:\n\n    ```json\n    {\n      \"repos\": [\n        {\n          \"name\": \"project-1\",\n          \"description\": \"A brief description of project 1.\",\n          \"url\": \"https://github.com/your-username/project-1\"\n        },\n        {\n          \"name\": \"project-2\",\n          \"description\": \"A brief description of project 2.\",\n          \"url\": \"https://github.com/your-username/project-2\"\n        },\n        // ...\n      ]\n    }\n    ```\n\n## Configuration\n\nYou can customize the application by modifying the following parameters in the `.env` file:\n\n- `GITHUB_ACCESS_TOKEN`: Your GitHub access token.\n\n## Contributing\n\nIf you would like to contribute to the project, please open an issue or submit a pull request.\n\n## License\n\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepsingh132%2Fportfolio-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeepsingh132%2Fportfolio-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepsingh132%2Fportfolio-api/lists"}