Skip to content

An example of a FastAPI app that was scaffolded with Poetry Copier.

Notifications You must be signed in to change notification settings

lukin0110/poetry-copier-fastapi-demo

Repository files navigation

Lint and Test

Marty McFly

An example of a FastAPI app that was scaffolded with Poetry Copier.

🚀 Using

Prerequisite: the following command needs to be executed inside a DevContainer. See Contributing section to get started.

To serve this app, run:

poe serve --dev

and open localhost:8000 in your browser.

🧑‍💻 Contributing

Prerequisites
1. Install Docker
  1. Go to Docker, download and install docker.
  2. Configure Docker to use the BuildKit build system. On macOS and Windows, BuildKit is enabled by default in Docker Desktop.
2. Install VS Code

Go to VS Code, download and install VS Code.

1. Open DevContainer with VS Code

Open this repository with VS Code, and run Ctrl/⌘ + + PDev Containers: Reopen in Container.

The following commands can be used inside a DevContainer.

2. Run linters

poe lint

3. Run tests

poe test

4. Update poetry lock file

poetry lock --no-update

See how to develop with PyCharm or any other IDE.


️⚡️ Scaffolded with Poetry Copier.
🛠️ Open an issue if you have any questions or suggestions.

About

An example of a FastAPI app that was scaffolded with Poetry Copier.

Resources

Stars

Watchers

Forks

Packages