close
Skip to content

ezhpry/ez-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

介绍

这是一个自用的简易全栈开发模板,使用fastapi和vue3。 目的是减少重复的配置,方便我自己学习使用。

后端

同步环境

uv sync

主要依赖

uv add fastapi[standard] sqlalchemy[asyncio] aiomysql cryptography pyjwt pwdlib[argon2] pydantic-settings

框架

fastapi[standard]

数据库

mysql

驱动aiomysql

ORM

sqlalchemy[asyncio]

鉴权

pyjwt

加密

pwdlib[argon2]

环境变量&配置

pydantic-settings

前端

框架

Vue3

构建工具

Vite

网络请求

axios

一些提醒

  1. 后端已开启 CORS,允许前端(http://localhost:5173)访问接口。
  2. 配置好数据库后,backend/test/test_db.py可以测试数据库连接。在backend目录下执行python -m test.test_db

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors