/Hangar

Nuget v3 compatible package repository server implementation in NodeJs

Primary LanguageJavaScriptMIT LicenseMIT

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