GithubHelp home page GithubHelp logo

novelservice / novelrest Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 89 KB

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

License: MIT License

Kotlin 98.65% Dockerfile 1.35%
amq docker kotlin microservice spring-boot

novelrest's Introduction

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

novelrest's People

Contributors

xiangronglin avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

gasperlf

novelrest's Issues

Add suffix to docker images

When publishing images as suffix with date and commit hash. Allows persistent artifacts, instead of overwriting old one

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.