fastapi-starter:FastAPI项目的模板-源码

上传者: 42097914 | 上传时间: 2021-05-29 14:40:29 | 文件大小: 80KB | 文件类型: ZIP
FastAPI基础 为CRUD API设置了Starter FastAPI项目,使用: 适用于ORMSQLAlchemy 移生的 psycopg2用于Postgres连接 用法 用于运行的命令包含在Makefile 。 发展 make console为您提供了一个合适的“开发” REPL,其中已加载了数据库。

文件下载

资源详情

[{"title":"( 91 个子文件 80KB ) fastapi-starter:FastAPI项目的模板-源码","children":[{"title":"fastapi-starter-master","children":[{"title":"poetry.lock <span style='color:#111;'> 84.48KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 1.82KB </span>","children":null,"spread":false},{"title":"Dockerfile <span style='color:#111;'> 250B </span>","children":null,"spread":false},{"title":"app","children":[{"title":"cross","children":[{"title":"security.py <span style='color:#111;'> 3.06KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"db.py <span style='color:#111;'> 161B </span>","children":null,"spread":false}],"spread":true},{"title":"settings","children":[{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"globals.py <span style='color:#111;'> 711B </span>","children":null,"spread":false}],"spread":true},{"title":"application.py <span style='color:#111;'> 2.44KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"services","children":[{"title":"api","children":[{"title":"job.py <span style='color:#111;'> 460B </span>","children":null,"spread":false},{"title":"candidate.py <span style='color:#111;'> 2.32KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 85B </span>","children":null,"spread":false},{"title":"pagination.py <span style='color:#111;'> 1.42KB </span>","children":null,"spread":false}],"spread":true},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"request.py <span style='color:#111;'> 430B </span>","children":null,"spread":false}],"spread":true},{"title":"db","children":[{"title":"loader.py <span style='color:#111;'> 278B </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"session.py <span style='color:#111;'> 265B </span>","children":null,"spread":false},{"title":"base_class.py <span style='color:#111;'> 341B </span>","children":null,"spread":false}],"spread":true},{"title":"models","children":[{"title":"api","children":[{"title":"job.py <span style='color:#111;'> 339B </span>","children":null,"spread":false},{"title":"candidate.py <span style='color:#111;'> 899B </span>","children":null,"spread":false},{"title":"user.py <span style='color:#111;'> 205B </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"base.py <span style='color:#111;'> 638B </span>","children":null,"spread":false},{"title":"util","children":[{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"exception.py <span style='color:#111;'> 484B </span>","children":null,"spread":false},{"title":"tokens.py <span style='color:#111;'> 303B </span>","children":null,"spread":false},{"title":"response.py <span style='color:#111;'> 1.19KB </span>","children":null,"spread":false},{"title":"health.py <span style='color:#111;'> 81B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"orm","children":[{"title":"job.py <span style='color:#111;'> 411B </span>","children":null,"spread":false},{"title":"candidate.py <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":"user.py <span style='color:#111;'> 374B </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"base.py <span style='color:#111;'> 876B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"server.py <span style='color:#111;'> 1.42KB </span>","children":null,"spread":false},{"title":"utils","children":[{"title":"__init__.py <span style='color:#111;'> 48B </span>","children":null,"spread":false},{"title":"log.py <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false},{"title":"file_management.py <span style='color:#111;'> 338B </span>","children":null,"spread":false}],"spread":true},{"title":"repositories","children":[{"title":"job.py <span style='color:#111;'> 770B </span>","children":null,"spread":false},{"title":"candidate.py <span style='color:#111;'> 967B </span>","children":null,"spread":false},{"title":"user.py <span style='color:#111;'> 323B </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 79B </span>","children":null,"spread":false},{"title":"base.py <span style='color:#111;'> 2.12KB </span>","children":null,"spread":false},{"title":"exceptions.py <span style='color:#111;'> 354B </span>","children":null,"spread":false}],"spread":false},{"title":"main.py <span style='color:#111;'> 259B </span>","children":null,"spread":false},{"title":"routes","children":[{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"v1","children":[{"title":"job.py <span style='color:#111;'> 747B </span>","children":null,"spread":false},{"title":"candidate.py <span style='color:#111;'> 1.79KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 1.15KB </span>","children":null,"spread":false}],"spread":false},{"title":"utils.py <span style='color:#111;'> 741B </span>","children":null,"spread":false},{"title":"health.py <span style='color:#111;'> 272B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"alembic.ini <span style='color:#111;'> 1.92KB </span>","children":null,"spread":false},{"title":"Makefile <span style='color:#111;'> 454B </span>","children":null,"spread":false},{"title":"pyproject.toml <span style='color:#111;'> 1.18KB </span>","children":null,"spread":false},{"title":".dockerignore <span style='color:#111;'> 17B </span>","children":null,"spread":false},{"title":".tool-versions <span style='color:#111;'> 13B </span>","children":null,"spread":false},{"title":"versions.txt <span style='color:#111;'> 21B </span>","children":null,"spread":false},{"title":"CHANGELOG.md <span style='color:#111;'> 731B </span>","children":null,"spread":false},{"title":"setup.cfg <span style='color:#111;'> 815B </span>","children":null,"spread":false},{"title":".github","children":[{"title":"workflows","children":[{"title":"app.yml <span style='color:#111;'> 6.79KB </span>","children":null,"spread":false},{"title":"create_release.yml <span style='color:#111;'> 1.77KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Procfile.dev <span style='color:#111;'> 35B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 320B </span>","children":null,"spread":false},{"title":"tests","children":[{"title":"conftest.py <span style='color:#111;'> 1.40KB </span>","children":null,"spread":false},{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"services","children":[{"title":"__init__.py <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"test_candidate.py <span style='color:#111;'> 621B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"pull_request_template.md <span style='color:#111;'> 122B </span>","children":null,"spread":false},{"title":"ipython.py <span style='color:#111;'> 226B </span>","children":null,"spread":false},{"title":"migrations","children":[{"title":"env.py <span style='color:#111;'> 2.19KB </span>","children":null,"spread":false},{"title":"script.py.mako <span style='color:#111;'> 494B </span>","children":null,"spread":false},{"title":"versions","children":[{"title":"b13c53d0fe24_adding_new_tables.py <span style='color:#111;'> 3.57KB </span>","children":null,"spread":false},{"title":"b7341836c6f0_add_users.py <span style='color:#111;'> 1.24KB </span>","children":null,"spread":false},{"title":"274c92aeae37_add_avatar_path.py <span style='color:#111;'> 784B </span>","children":null,"spread":false},{"title":"e5c836cebbd7_init.py <span style='color:#111;'> 585B </span>","children":null,"spread":false}],"spread":false},{"title":"README <span style='color:#111;'> 38B </span>","children":null,"spread":false}],"spread":false},{"title":"terraform","children":[{"title":"main.tf <span style='color:#111;'> 7.18KB </span>","children":null,"spread":false},{"title":"terraform.tf <span style='color:#111;'> 35B </span>","children":null,"spread":false},{"title":"variables.tf <span style='color:#111;'> 297B </span>","children":null,"spread":false},{"title":"provider.tf <span style='color:#111;'> 17B </span>","children":null,"spread":false},{"title":"locals.tf <span style='color:#111;'> 1.43KB </span>","children":null,"spread":false},{"title":"prod","children":[{"title":"backend-config.hcl <span style='color:#111;'> 68B </span>","children":null,"spread":false}],"spread":false},{"title":"data.tf <span style='color:#111;'> 837B </span>","children":null,"spread":false},{"title":"dev","children":[{"title":"backend-config.hcl <span style='color:#111;'> 67B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"prestart.sh <span style='color:#111;'> 88B </span>","children":null,"spread":false},{"title":"Procfile <span style='color:#111;'> 96B </span>","children":null,"spread":false},{"title":".pylintrc <span style='color:#111;'> 16.55KB </span>","children":null,"spread":false},{"title":".flake8 <span style='color:#111;'> 264B </span>","children":null,"spread":false},{"title":"app.json <span style='color:#111;'> 329B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明