Source code for Nino's API (located at api.nino.sh), made with Go and GraphQL ๐
I decided to move Nino's API to a different repository so no overhead of requests are correlated to the bot. Since Node.js is single-threaded, I decided to not run an API and the bot at the same time and having an API implemented in the bot could be "optional" but, I decided not to, which was the original plan on the rewrite (v0 -> v1).
Need support related to Nino or any microservices under the organization? Join in the Noelware Discord server in #support under the Nino category:
Before we run this API, I recommend not to. Since builds are most likely unstable, it's not really recommended to Nino and private instances don't need this type of functionality...
Before running your instance of API, you will need the following tools before starting:
- PostgreSQL v10+ - Used for retrieving data from the bot -> API.
- Git v2.31+ - Useful for retrieving new updates with API.
- Go v1.16+ - Language build-tools to run API
$ git clone https://github.com/NinoDiscord/API.git && cd API
$ go get && go build
$ ./api # or run api.exe in Command Prompt
API is released under the GPL-3.0 License.