# fastlv **Repository Path**: netcorefm/fastlv ## Basic Information - **Project Name**: fastlv - **Description**: 这是一个基于前后端分离架构的Web应用项目框架,前端使用Layui-Vue-Admin框架,后端使用FastAPI构建。 - **Primary Language**: Python - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-04-01 - **Last Updated**: 2026-04-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 项目概述 fastlv 这是一个基于前后端分离架构的Web应用项目框架。前端使用Layui-Vue-Admin框架,后端使用FastAPI构建。 ### 前端技术栈 * 框架: Vue3 + Vite * UI组件库: Layui-Vue * 状态管理: Pinia * 路由: Vue Router * HTTP客户端: Axios * 构建工具: Vite * 包管理: pnpm ### 后端技术栈 * 框架: FastAPI (Python) * ORM: Tortoise-ORM * 缓存:redis-py * 认证: JWT (HTTPBearer) * 数据库: PostgreSQL ## 运行项目 ### 前端 * 需求:node.js >=18.20.8 ``` pnpm install 安装组件 pnpm dev 运行 ``` ### 后端 * 需求: python>=3.11.4 #### 1.安装uv > WinGet安装uv ``` winget install --id=astral-sh.uv -e ``` >powershell安装uv ``` powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex" ``` #### 2.安装python ``` //查看安装的版(系统的和uv托管的) uv python list //安装python(uv托管) uv python install 3.11.14 ``` #### 3.配置文件 ``` .env ``` #### 4.运行项目 ``` uv sync 安装组件 uv run initdb.py 初始化数据库 uv run main.py 运行后端 ``` ## 其它 >* Layui-Vue-Admin地址:https://gitee.com/lunarlanding/layui-vue-admin >* FastAPI地址:https://github.com/fastapi/fastapi >* postgresql地址:https://www.postgresql.org/download/windows/ * 缓存服务器 >* rudis 地址:https://github.com/lunar-landing/rudis/tree/dev/release >* garnet 地址: https://github.com/microsoft/garnet ## 演示服务器 [演示地址](http://106.13.60.74:8090/) 帐号:admin 密码:admin