Create a new FastAPI project in one command. ✨
Install uv following their guide for your system.
Run:
uvx fastapi-new awesomeappThis will create a new project awesomeapp with a basic FastAPI app, configured with uv.
Enter the directory:
cd awesomeappRun the development server:
uv run fastapi devOpen your browser and go to http://localhost:8000 to see your new FastAPI app running! 🚀
If you want to create a new FastAPI project in an existing directory, run the command without a project name:
uvx fastapi-newThis project is licensed under the terms of the MIT license.