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
- Host: GitHub
- URL: https://github.com/dinhtap/djangosvgserver
- Owner: dinhtap
- Created: 2024-10-21T21:06:43.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-21T21:47:03.000Z (over 1 year ago)
- Last Synced: 2025-10-06T21:50:04.531Z (9 months ago)
- Topics: django, fastapi
- Language: Python
- Homepage:
- Size: 56.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.