Skip to content
This repository has been archived by the owner on May 21, 2022. It is now read-only.
/ NovelRest Public archive

Microservice acting as public REST API for triggering the NovelWorker and fetching finished novels

License

Notifications You must be signed in to change notification settings

NovelService/NovelRest

Repository files navigation

Novel Rest

CI Docker Pulls

Description

The public API for the Novel Service. Allows to trigger the worker and fetch novels after they are finished

Dev Environment

Docker compose

In the project root create a file .env which contains variables needed for docker compose.

key value description
project_root <path-to-repo> The full path to the repository on the local file system without trailing slash

Start the dependencies declared in docker-compose.yml by running docker compose up -d
Then run the application inside your preferred IDE

Run configuration

Run with the system property variables set to below values by passing in the VM arguments with -D{key}={value}

key value description
NOVEL_SERVICE_CONFIG_FILE <path-to-repo>/novel-service-config.yml Config file location
NOVEL_FOLDER_KEY <path-to-repo>/data A folder to save novels. Used by this and novel-worker

About

Microservice acting as public REST API for triggering the NovelWorker and fetching finished novels

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published