https://github.com/carlos-rian/python-fastapi-prisma-orm
https://github.com/carlos-rian/python-fastapi-prisma-orm
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/carlos-rian/python-fastapi-prisma-orm
- Owner: carlos-rian
- Created: 2022-05-24T18:34:20.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-05-26T16:30:11.000Z (almost 3 years ago)
- Last Synced: 2025-01-18T14:21:40.653Z (4 months ago)
- Language: Python
- Size: 8.79 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Prisma Python Client ORM
## Create an instance Postgresql using Docker
```sh
docker run --name some-postgres -p 5432:5432 -e POSTGRES_PASSWORD=mysecretpassword -d postgres
```## Create a virtualenv and activate using Poetry
```sh
poetry shell
```## Install dependencies
```sh
poetry install
```## Up server using uvicorn
```sh
uvicorn app.main:app --reload
```