# fastapi_vue3_app
**Repository Path**: lonelyxmas/fastapi_vue3_app
## Basic Information
- **Project Name**: fastapi_vue3_app
- **Description**: FastAPI-Vue3-App 是全栈开源项目,旨在助开发者快速搭建移动、小程序和 H5 应用。后端采用 FastAPI + SQLModel + Alembic + JWT 异步编程提升并发,简化数据库操作,实现身份验证与授权,并进行管理版本;前端采用 Vue3 + Vite5 + Pinia + UniApp + uView-plus 实现快速构建,跨平台开发。提供一站式开发方案,高效便捷。
- **Primary Language**: Python
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 7
- **Created**: 2025-06-20
- **Last Updated**: 2025-06-20
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
English | [Chinese](./README.md)
## Introduction to the FastAPI-Vue3-App Project
### Project Overview
FastAPI-Vue3-App is a full-stack open-source project aimed at helping developers quickly build mobile, mini-program, and H5 applications. The backend uses FastAPI + SQLModel + Alembic + JWT asynchronous programming to improve concurrency, simplify database operations, implement authentication and authorization, and manage versions. The frontend adopts Vue3 + Vite5 + Pinia + UniApp + uView-plus to achieve rapid construction and cross-platform development. It provides an all-in-one development solution, being efficient and convenient.
> Backend Technology Stack:
- **FastAPI**: Utilizes asynchronous programming features to enhance the application's concurrent processing capabilities.
- **SQLModel**: A simple and easy-to-use ORM tool that simplifies database operations.
- **Alembic**: A database migration tool for managing database versions.
- **JWT**: Used for authentication and authorization.
> Frontend Technology Stack:
- **Vue3**: A progressive JavaScript framework for building user interfaces.
- **Vite**: A fast frontend build tool that supports hot reloading.
- **Pinia**: A state management library for Vue3 that provides a rich set of components.
- **UniApp**: A cross-platform application development framework that supports multi-terminal development.
- **uView-plus**: A Vue3-based UI component library that provides a rich set of components.
### Main Features
- **Easy to Get Started**: Provides a complete project structure and sample code to reduce initial configuration time.
- **Modular Design**: Each component is developed independently for easy maintenance and expansion.
- **Comprehensive Documentation**: Detailed README and API documentation for easy learning and reference.
- **Community Support**: Completely open source. Welcome to submit issues and pull requests.
### Directory Structure
```sh
fastapi_vue3_app/
├─ backend # Backend directory
├─ frontend # Frontend directory
├─ README.en.md # English documentation
└─ README.md # Chinese documentation
```
### Page Display
login |
register |
forgot_password |
home |
work |
createUser |
updateUser |
detailUser |
mine |
deleteUser |
phoneMe |
jinja2 home |
### Quick Start
- 1. Clone the project
- git clone
- 2. Install dependencies:
- cd fastapi_vue3_app/backend
- pip install -r requirements.txt
- 3. Start the project: (1. Generate migrations 2. Upgrade migrations 3. Run the project)
- python3 main.py revision
- python3 main.py upgrade
- python3 main.py run
- 4. Access the project:
- 前端地址:
- 账号:`admin` 密码:`123456`
- 接口地址:
### Special Thanks
Thanks to the contributions and support of the following projects, which have enabled the successful completion of this project:
- [FastAPI 项目](https://github.com/fastapi/fastapi)
- [SqlModel 项目](https://github.com/fastapi/sqlmodel)
- [Alembic 项目](https://github.com/sqlalchemy/alembic)
- [PyJWT 项目](https://github.com/jpadilla/pyjwt)
- [Vue3 项目](https://github.com/vuejs/vue)
- [Vite 项目](https://github.com/vitejs/vite)
- [UniApp 项目](https://github.com/dcloudio/uni-app)
- [uView-plus 项目](https://uiadmin.net/uview-plus)
### Participation and Support
Thank you for your attention and support! If you find this project helpful, please give us a Star! Your support is our driving force. At the same time, all developers are welcome to contribute and jointly improve this project.
## 🎨 WeChat Group
Below are the group QR codes, which can be used for technical exchanges and discussions on various issues encountered during the project usage. We sincerely hope that everyone can work together to optimize the project, actively discuss, and support each other!
### Group QR Codes