-
-
Notifications
You must be signed in to change notification settings - Fork 1
Dev: REST Api & Swagger
borsTiHD edited this page Jan 6, 2022
·
5 revisions
Please make sure that you have completed the preparations presented here.
The Express Server used provides a REST api.
All API endpoints are documented via Swagger and can be tested there.
If you are in the development environment, you can access Swagger Docs directly over the sidebar by clicking the Swagger Docs
link.
Alternatively, you can access Swagger manually via the following URL: http://{host}:{port}/api-docs/
- Host:
localhost
or remote adress/ip - Port:
3001
(default: 3001, orDEV_PORT_BACKEND
value set in.env
)
The REST Api itself can be accessed via the following URL: http://{host}:{port}/{basePath}
- Host:
localhost
or adress to your server - Port:
3001
(default: 3001 on dev) /8800
(default: 8800 on production) - basePath:
api/v1