-
All endpoints are prefixed with api/v1/
-
For schemas, responses and others, please visit the docs at /api/v1/docs
For database config, visit the application.properties file at src/main/resources folder.
spring.datasource.url=jdbc:mysql://${MYSQL_HOST:localhost}:${MYSQL_PORT:3306}/${MYSQL_NAME:metaphorce}?zeroDateTimeBehavior=convertToNull&serverTimezone=UTC
spring.datasource.username = ${MYSQL_USER:root}
spring.datasource.password = ${MYSQL_PASS:admin}
The 5 main routes are protected by a JWT, to access them it is necessary to add a bearer token that will be provided by the login route. Feel free to create a new user at signup route if you wish.
To add the token as an authorization header from swagger simply click on the authorize button in the header and paste the token you generated earlier.
User: metaphorce
Password: m3t4Ph0rc3