Skip to content

Latest commit

 

History

History
31 lines (27 loc) · 1.16 KB

README.md

File metadata and controls

31 lines (27 loc) · 1.16 KB

Hangar

This program targets at implementing a Nuget v3 compatible package repository backend. The services speficiation is to be found at https://docs.microsoft.com/en-us/nuget/api/overview.

Services to implement:

Additional features:

  • GitHub Oauth login and user registration at $ADDRESS/authorisation/login (ApiKey at $ADDRESS/authorisation/apiKey)
  • Extended SearchQueryService to return only my own packages with a query parameter ($ADDRESS/query/?my=true)

Further plans:

  • API to manage users

Environment Variables

PORT=8080
DB_HOST=localhost
DB_USER=hangar
DB_PASSWORD=
DB_NAME=hangar
ADDRESS=http://localhost:8080
OAUTH_CLIENT_ID=
OAUTH_CLIENT_SECRET=
SESSION_SECRET=
REPOSITORY_NAME=packages