This is a try to write a small test backend application in kotlin using ktor framework to create REST API endpoints upon the tomcat server.
It has been tested to run on Fedora 34 linux machine with PostgreSQL database image loaded into Docker Compose.
It also uses JDBC Expose to connect database tables and JVM object Entities
To run postgresql database on docker compose container:
sudo su
docker-compose up &
exit
To start backend:
run ApplicationKt from IntelliJ IDEa
To test HTTP REST API using curl:
./FirstNameTest.http