Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jrycw/streamlit-edgedb-fastapi-blog
A simple blog app built by streamlit+edgedb+fastapi
https://github.com/jrycw/streamlit-edgedb-fastapi-blog
blog edgedb fastapi postgresql python streamlit
Last synced: 14 days ago
JSON representation
A simple blog app built by streamlit+edgedb+fastapi
- Host: GitHub
- URL: https://github.com/jrycw/streamlit-edgedb-fastapi-blog
- Owner: jrycw
- License: mit
- Created: 2022-08-25T03:55:46.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-09-15T18:05:58.000Z (over 2 years ago)
- Last Synced: 2024-12-04T12:38:09.349Z (2 months ago)
- Topics: blog, edgedb, fastapi, postgresql, python, streamlit
- Language: Python
- Homepage:
- Size: 614 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# streamlit-edgedb-fastapi-blog
A simple blog app built by [Streamlit](https://streamlit.io/) + [EdgeDB](https://www.edgedb.com/) + [FastAPI](https://fastapi.tiangolo.com/).```
pip install -r requirements.txt# EdgeDB
edgedb project init
edgedb migration create
edgedb migrate# FastAPI
uvicorn app.main:api# Streamlit
streamlit run stapp/01_blog.py# pytest
edgedb instance create test01
edgedb -I test01 migrate
python -m pytest tests/
edgedb instance destroy -I test01 --force
```## Blog
![blog-list](images/blog_list.png)
![blog-detail-show](images/blog_detail_show.png)
![blog-detail_edit](images/blog_detail_edit.png)# Create Post
![create-post](images/create_post.png)# Admin
![admin-create-user](images/admin_create_user.png)
![admin-view-users](images/admin_view_users.png)
![admin](images/admin.png)