Skip to content

Boilerplate for async APIs backed by postgres

Notifications You must be signed in to change notification settings

benfasoli/api-template-litestar

Repository files navigation

Development Environment

Clone this repo and install the development dependencies:

make install

This will create a virtual environment in the .venv directory at the repository root. You may need to configure your IDE to point to the newly created virtual environment after it has been created.

Run make help for list of available tasks.

Start local containerized instances of infrastructure dependencies (requires docker) with:

make infra

Run static analysis tools to check formatting, linting, and types with:

make check

Run tests against local infrastructure with:

make test

Start a local development server with:

make start-dev

You can then access the OpenAPI reference page at: 127.0.0.1:8000/schema

Stop any running containers and remove development artifacts with:

make clean

About

Boilerplate for async APIs backed by postgres

Resources

Stars

Watchers

Forks