Skip to content

vjumpkung/simple_image_manager_api

Repository files navigation

Simple Image Manager

A simple image manager which using FastAPI, SQLite

Limitation

  • Not suitable for production use because sqlite is not supported async. (fixed by change ORM)

Demo

https://simple-image-uploader.vjumpkung.dynv6.net/

Features

Multiple Relational Database Support

  • sqlite
  • posgresql

Login and Register Page

Support multiple images and can select type for find by type later (for grouping images).

For manage images (delete only)

see more features by going swagger docs (/docs)

Setup

  1. clone repository
  2. create new python environment python -m venv venv
  3. pip install -r requirement.txt
  4. setup .env by copying .env.example and rename it.
  5. setup choice by copying choices.json.example and rename to choices.json
[
  {
    "choice": "Choice A", <-- for display
    "value": "Value_A" <-- for storing in database
  },
  {
    "choice": "Choice B",
    "value": "Value_B"
  },
  {
    "choice": "Choice C",
    "value": "Value_C"
  }
]
  1. run python main.py
  2. access website with http://localhost:PORT/

To-Do List

  • Password Reset (require email so no more)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published