You can specify the port requests will be served on with the API_PORT
variable. The default value is 3001
.
Follow the setup instructions to ensure the database environment variables are set.
-
Endpoint: /GET http://localhost:3001/api/{handle}
-
Endpoint: /GET http://localhost:3001/api/{handle}/?threshold={integer}
-
Endpoint: /GET http://localhost:3001/api/{handle}/ngrams