Skip to content

Mat-O-Lab/BaseFastApiApp

Repository files navigation

BaseFastApiApp

Publish Docker image

Base App for FastApi with one page Starlette Form as index page, converts rdf graphs to multiple formats as example.

how to use

create a .env file with

APP_NAME="BaseFastApiApp"
APP_VERSION=<version_number>
APP_DESC='Base App for FastApi with one page Starlette Form as index page, converts rdf graphs to multiple formats as example.'
APP_SOURCE="https://github.com/Mat-O-Lab/BaseFastApiApp"
APP_PORT=<your-port>
APP_MODE=<"development" or "production">
ADMIN_NAME=<name_of_admin>
ADMIN_MAIL=<email_of_admin>
ORG_SITE=<org_website>

docker-compose

Clone the repo with

git clone https://github.com/Mat-O-Lab/BaseFastApiApp

cd into the cloned folder

cd BaseFastApiApp

Build and start the container.

docker-compose up

A simple UI can be found at at the index page '/' The API documentation at 'api/docs'