GithubHelp home page GithubHelp logo

alex-struk / markdown-flow Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 31 KB

A small app sets up an API server with MySQL database to fetch text files from remote locations, store them in DB and expose that content via the API

Dockerfile 2.01% JavaScript 97.85% Shell 0.14%

markdown-flow's Introduction

This small app sets up an API server with MySQL database to fetch text files from remote locations, store them in DB and expose that content via the API.

To use, clone the repository and configure file in:

apiServer/app/content-config.json

to specify the sources from which the content should be pulled.

Then run:

docker compose up

Then navigate to your browser and run:

http://127.0.0.1:8080/api/content/update

This will load content into the database or update existing content for all entries.

To view all content, navigate to:

http://127.0.0.1:8080/api/content

To retrieve specific entry, navigate to:

http://127.0.0.1:8080/api/content/about

where "about" is the "name" specified in the json file

To delete all content, navigate to:

http://127.0.0.1:8080/api/content/delete

markdown-flow's People

Contributors

alex-struk avatar

Watchers

 avatar

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.