Skip to content

YuriFontella/litestar-asyncpg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Litestar Asyncpg Plugin

Usage:

  • Routing
  • Channels (websocket)
  • Events
  • Middlewares (cors, csrf, rate limit)
  • Stores
  • Security / Guards (authentication)
  • Caching
  • Plugins
  • Static Files

Setup

.env

KEY=secret
DSN=postgresql://user:password@host:port/db

Install Dependencies

pip install -r requirements.txt

Database

create database db 

Run Server

litestar run
litestar run -r -P -d -p 9000 -H 0.0.0.0
litestar run --wc 4
litestar run -h

OpenAPI

localhost:port/schema/redoc

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages