Skip to content

fastapi/fastapi-new

Repository files navigation

fastapi-new

Create a new FastAPI project in one command. ✨

Test Coverage Package version Supported Python versions

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.