This is the Kotlin API for the backend of Iced Blogging Platform.
- Clone the repo
git clone
- Install Gradle dependencies
- Run the project
gradle run
- The server will be running on port 8080
- You can access the API documentation on http://localhost:8080/swagger-ui/index.html?configUrl=/v3/api-docs/swagger-config
- You can access the H2 database on http://localhost:8080/h2-console
The API uses JWT for authentication. To get a token, you need to send a POST request to /auth/login
with the following body:
{
"username": "username",
"password": "password"
}
Distributed under the MIT License. See LICENSE
for more information.