This project is a FastAPI-based API for interacting with GitHub data, designed for deployment on Vercel.
- Fetch organization and repository data from GitHub
 - Get user information and repositories
 - Health check endpoint
 
This project is ready to deploy on Vercel. See vercel.json for configuration.
- GET 
/api/health - Example:
https://my-fastapi-github-api.vercel.app/api/health
 
- GET 
/api/github-data - Query Parameters:
org(optional, default:microsoft)repo(optional, default:vscode)
 - Example:
https://my-fastapi-github-api.vercel.app/api/github-data?org=microsoft&repo=vscode
 
- GET 
/api/github/user?username=USERNAME - Example:
https://my-fastapi-github-api.vercel.app/api/github/user?username=octocat
 
- GET 
/api/github/user/{username}/repositories - Example:
https://my-fastapi-github-api.vercel.app/api/github/user/octocat/repositories
 
- GET 
/api/github/user/{username}/repository/{repo_name} - Example:
https://my-fastapi-github-api.vercel.app/api/github/user/octocat/repository/Hello-World
 
- Replace 
octocatand other placeholders with the actual GitHub username or repository name you want to query. - You can use these endpoints in your browser, with 
curl, or in tools like Postman. 
GITHUB_TOKEN(optional, but recommended for higher rate limits)