mirror of
https://github.com/grillazz/fastapi-sqlalchemy-asyncpg.git
synced 2025-08-26 16:40:40 +03:00
add how to feed db to README.md
This commit is contained in:
parent
3ba86e370a
commit
6ef45c750a
15
README.md
15
README.md
@ -33,10 +33,13 @@ test Run project tests
|
||||
up Run project with compose
|
||||
```
|
||||
|
||||
Hope you enjoy it.
|
||||
|
||||
It tooks me a while to find nice data set. Hope shkezz as example will be able to cover
|
||||
first part with read only declarative base and all type of selects :)
|
||||
I took data set form https://github.com/catherinedevlin/opensourceshakespeare
|
||||
Next generated declarative base with https://github.com/agronholm/sqlacodegen
|
||||
And after soem twiking i get desired result
|
||||
### How to feed database
|
||||
|
||||
It took me a while to find nice data set. Hope works of Shakespeare as example will be able to cover
|
||||
first part with read only declarative base configuration and all type of funny selects :)
|
||||
Data set is coming form https://github.com/catherinedevlin/opensourceshakespeare
|
||||
Next models were generated with https://github.com/agronholm/sqlacodegen
|
||||
And after some tweaking I got desired result
|
||||
|
||||
Hope you enjoy it.
|
Loading…
x
Reference in New Issue
Block a user