Pub's package server is open source. You can clone the repo from Github and host your own copy on Google App Engine.
Dart - Self hosted packages [closed]
-
27-09-2022 - |
Question
I am currently playing around with AngularDart client with a ASP.NET services and I am wanting to host a valid version of the client API for server itself. Since the server model has all the type and structure information about my requests, responses etc, I want to be able to generate a valid Dart client library rather than manually keep them in sync.
Dart documentation shows there is an option for 'hosted' packages but I can't find any information about the specs the package server has to adhere to so that these packages can be added directly from the Dart editor.
I want to know if there is any official documentation for implementing a valid package server, or if there are any open source ports that could be used as a guide.
Solution