Skip to content

jimmygoddard/file-service

Repository files navigation

File Service

REST service which supports storing and retrieving files and their metatdata. The service is written in Kotlin and depends on a PostgreSQL database.

Running the File Service

Note: all commands assume you are in the repo's top level directory

  1. Build it: ./gradlew build

  2. Through Docker

    1. Build docker container: ./gradlew jibDockerBuild
    2. Run it: docker-compose -f docker/postgres-container.yml -f docker/file-service-container.yml up
  3. Through Gradle

    1. Run Postgres: docker-compose -f docker/postgres-container.yml up
    2. Run the service: ./gradlew bootRun
  4. Through IntelliJ

    1. Run postgres container by going to the Docker postgres file and hitting the Run button
    2. Run File Service by going to the Main class and hitting the Run button

Reference

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages