api gateway
should only be a dummy proxy to public & internal services
npm run make
-
npm start
ornpm run dev
to watch files changes as you dev
Run docker image
npm run doc
docker build -t lucy/api .
docker run -p 8080:8080 --restart=always -d lucy/api
Dependencies:
- lucy-auth (OAuth module)
Exposed metrics
Name | Type | Labels | Description |
---|---|---|---|
api_usage_count |
Counter |
endpoint , user_id , version
|
restful api usage count |