← 返回首页
GitHub - fastapi/fastapi-new: Create a new FastAPI project in one command · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

fastapi/fastapi-new

Go to file
Code

Repository files navigation

fastapi-new

Create a new FastAPI project in one command. ✨

How to use

Install uv following their guide for your system.

Run:

uvx fastapi-new awesomeapp

This will create a new project awesomeapp with a basic FastAPI app, configured with uv.

Enter the directory:

cd awesomeapp

Run the development server:

uv run fastapi dev

Open your browser and go to http://localhost:8000 to see your new FastAPI app running! 🚀

Existing directory

If you want to create a new FastAPI project in an existing directory, run the command without a project name:

uvx fastapi-new

License

This project is licensed under the terms of the MIT license.

About

Create a new FastAPI project in one command

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Sponsor this project

 
Sponsor

Packages

 
 
 

Contributors

Footer

© 2026 GitHub, Inc.