#Github Repo API Github REPO API
List of basic routes:
Route | HTTP | Description | Attributes |
---|---|---|---|
/api/getrepo?user=(set github user) | GET | Get specified user repositories | |
/api/searchtopic?topic=(set topic here) | GET | Search Repositories based on specified topic | |
/api/createrepo | POST | create github repo | name (string) : repo name |
create .env file contain access_token = "set your github access token here"
With only npm:
npm install
npm run dev
Access the API via http://localhost:3000/api