This is the API of the OpenNames project. It will be reachable at https://api.opennam.es.
To host the API yourself, you need to have MongoDB and node installed.
Create a new DB and start MongoDB. Put the URL in the .env.example file. (Example: mongodb://127.0.0.1:27017/OpenNames
)
Rename .env.example
to .env
Install the required dependencies:
yarn install
Start the API
node .