api.nest.land/users # list of all users
api.nest.land/users/:user # user profile
api.nest.land/users/:user/modules # list of modules by :user
[x] modules
api.nest.land/modules # list of all modules
api.nest.land/modules/:user/:module # module details
api.nest.land/modules/:user/:module/versions # list all versions
api.nest.land/modules/:user/:module/:version # version details
api.nest.land/modules/:user/:module/:version/files # list of files
[x] import intellisense
api.nest.land/imports/- # for vanity modules
api.nest.land/imports/x # for scoped modules
[ ] publish webhooks
api.nest.land/webhook/github/:user/:module # publish from github
api.nest.land/webhook/gitlab/:user/:module # publish from gitlab
API
api.nest.land
REST APIgql.nest.land
GraphQL APIRest API
[x] users
[x] modules
[x] import intellisense
[ ] publish webhooks
Database
schema: schema.prisma
Notes
REST is a bit more accessible to beginners than GraphQL, and having more options is not a bad thing.
We can also deploy serverless functions for badges and stuff in the future on
api.nest.land
.