推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
jenlors
V2EX  ›  Python

fastapi-admin,再出发

  •  
  •   jenlors · May 14, 2021 · 4622 views
    This topic created in 1824 days ago, the information mentioned may be changed or developed.

    之前发过一个帖子,https://www.v2ex.com/t/659932#reply8

    当时的 fastapi-admin 是基于前后端分离,前端大部分复用了另一个 vue 项目,查询协议也是该项目带的,然后我用 fastapi+tortoise-orm 写了后端,然后就有了第一版的 fastapi-admin 。

    后面慢慢发现了这种方案的不足,因为只有我一个人开发,前后端分离并没有带来多大的开发效率,并且复用该项目后扩展性变得很差,并且带来发布上的不便,pypi 上只能发布后端程序,前端需要单独编译部署。

    然后今年又经历辞职,找工作,项目的维护也没有那么活跃了,直到最近工作逐渐稳定下来,于是又开始着手重构 fastapi-admin 。

    重构后的 fastapi-admin 类似于 Django admin,同样基于 fastapi+tortoise-orm,使用 jinja2 构建前端页面,ui 框架使用tabler,易于安装,扩展。

    项目地址: https://github.com/fastapi-admin/fastapi-admin

    最后照例求个 star,感谢!

    12 replies    2021-05-15 19:46:01 +08:00
    mimzy
        1
    mimzy  
       May 14, 2021
    只求 Tortoise ORM 继续搞,现在就你比较活跃了 [狗头]
    jenlors
        2
    jenlors  
    OP
       May 14, 2021
    会的,grigi 貌似生病了很久没联系了,另一个也很久没活跃了,一个人的力量还是比较有限,开源项目需要大家一起贡献。
    popil1987
        3
    popil1987  
       May 14, 2021
    现在 sqlalchemy1.4 也可异步了,up 不考虑下吗^_^
    abersheeran
        4
    abersheeran  
       May 14, 2021
    我说实话,旧版我也看过,巨丑。新版好看多了,这个我才有想用的欲望。
    jenlors
        5
    jenlors  
    OP
       May 14, 2021
    不是很喜欢 sqlalchemy 的 api,使用 Django 开发也有比较长一段时间,比较偏好类 Django ORM 的设计
    jenlors
        6
    jenlors  
    OP
       May 14, 2021
    UI 这块确实很缺乏,作为一个纯后端程序员也只能套套第三方 UI 框架了
    hanssx
        7
    hanssx  
       May 14, 2021
    你别说,这个前端还挺好看的,简洁,学 react 中,目前在用 fastapi-generator,感谢楼主奉献。
    hulala1021
        8
    hulala1021  
       May 15, 2021
    支持 postgres 么。。
    jenlors
        9
    jenlors  
    OP
       May 15, 2021
    支持
    z740713651
        10
    z740713651  
       May 15, 2021
    支持 sqlalchemy 应该会有更广的使用量和更多的人参与贡献(主要公司主力还是 sqlalchemy )
    感谢大佬的开源贡献
    johnsona
        11
    johnsona  
       May 15, 2021 via iPhone
    drf 牛逼(破音
    codists
        12
    codists  
       May 15, 2021
    支持。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5619 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 61ms · UTC 07:32 · PVG 15:32 · LAX 00:32 · JFK 03:32
    ♥ Do have faith in what you're doing.