An open API service indexing awesome lists of open source software.

https://github.com/dinhtap/djangosvgserver

Simple Django server with account management
https://github.com/dinhtap/djangosvgserver

django fastapi

Last synced: about 2 months ago
JSON representation

Simple Django server with account management

Awesome Lists containing this project

README

          

# djangosvgserver
Simple Django server with account management, but looks a little bit ugly

Run site with `python3 manage.py runserver` with default configuration at localhost:8000, or `python3 manage.py runserver YOURIP:PORT`. Access the site by localhost:8000 (or YOURIP:PORT) on your browser.
You can see some "images" on the site, logged-in users can edit their images. Image can have a tag (ex. tag1, tag2).

You can log in as admin to manage images (add new images, add tags, add new users, assign images to users, manage users). Username admin, password admin

There are 2 users with usernames art1 and art2, password Artart123

Run fastapi server with `fastapi run api.py`, it will run at localhost:8000. 2 GET entries are localhost:8000/allimages and localhost:8000/allimages/tag to get all images and all images with given tag. A POST entry at /allimages/del to delete an image.