/omgimgflow-api

OmgImgFlow Image Server API

Primary LanguageC#GNU Affero General Public License v3.0AGPL-3.0

OmgImgFlow Image Server API

API for the omgimgflow app.

Getting started

Technical Requirements

  1. .NET 5.0
  2. Docker (optional, if a local MySQL installation is available)

Directory changes

Create directory omgimgflow_cache and omgimgflow_photos in your HOME directory. The cache directory contains the cached images generated from the image manipulations. The photos directory contains the uploaded photos from the user.

Set connection string

$ dotnet user-secrets set "ConnectionStrings:OmgImagesServerDb" "{connecionstring}"

Run the app

Instantiate mysql db

$ docker-compose -f mysql.yaml up -d

Run the API and access at https://localhost:5001

$ dotnet run

This project is powered by ASP.NET Core 5, EntityFramework Core 5.