Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/manuelernesto/money-tracker-api

Money Tracker API using Ktor 3.0 Server, Exposed, Swagger and OpenAPI
https://github.com/manuelernesto/money-tracker-api

exposed exposed-orm gcp ktor ktor-server openapi postgresql swagger

Last synced: 6 days ago
JSON representation

Money Tracker API using Ktor 3.0 Server, Exposed, Swagger and OpenAPI

Awesome Lists containing this project

README

        

# Money Tracker API

This is an API developed with modern server side tools:

* [Kotlin](https://github.com/JetBrains/kotlin)
* [Ktor](https://github.com/ktorio/ktor)
* [Exposed](https://github.com/JetBrains/Exposed)

### OpenAPI Documentation
![OpenAPI Documentation](./pictures/openapi.png)
Check [here](/src/main/resources/openapi/documentation.yaml) the documentation file.

### How to run the project

* Clone the repository

```
git clone https://github.com/manuelernesto/money-tracker-api.git
```

* Create a postgres database

```
CREATE DATABASE money_tracker_db;
```

* Go to the project folder and run it

```
DB_URL=jdbc:postgresql://{host}:{port}/money_tracker_db DB_PASSWORD=your_db_password DB_USER=your_db_user ./gradlew run
```