Skip to content

Add FastAPI template to Create New Project - #2020

Open
Mohammad Malik (mohammad-malik) wants to merge 1 commit into
microsoft:mainfrom
mohammad-malik:cursor/fastapi-new-project-8b8d
Open

Mohammad Malik (mohammad-malik) wants to merge 1 commit into
microsoft:mainfrom
mohammad-malik:cursor/fastapi-new-project-8b8d

Conversation

@mohammad-malik

Copy link
Copy Markdown

Fixes #396

Adds a FastAPI template to "Python Envs: Create New Project from Template", alongside Package and Script. It scaffolds <name>_project with FastAPI and Uvicorn, a TestClient-based test, the same virtual environment prompt as the package template, a debug configuration for uvicorn <name>.main:app, and Copilot instructions. Quick create accepts python-fastapi.

Testing: npm run lint, npm run pretest (compile + compile-tests) and npm run unittest (3578 passing, 12 pending) on Node 22.21.1.

Scaffold a FastAPI application from the New Project flow, alongside the package and script templates. The template includes the app module, tests, a virtual environment prompt, a Uvicorn debug configuration, and Copilot instructions.

Co-authored-by: Mohammad Malik <mohammad-malik@users.noreply.github.com>
@mohammad-malik

Copy link
Copy Markdown
Author

@microsoft-github-policy-service agree

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New Project: Fast API

1 participant