Skip to content

Backend for research phonetic components of chinese caracters

Notifications You must be signed in to change notification settings

dimitori-g/phonetics-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API for phonetics

Create .env file with credentials

POSTGRES_USER=your_user
POSTGRES_PASSWORD=your_password
POSTGRES_SERVER=your_server
POSTGRES_PORT=your_port
POSTGRES_DB=your_db
SECRET_KEY=your_secret_key_for_token

Run container

docker-compose up

Stop container

docker-compose down

Use data below for seeding DB

https://github.com/dimitori-g/phonetics-tools/blob/master/data/

For example using TablePlus

sample.mp4

Interactive API docs

http://0.0.0.0:8000/docs 2b3b563a-22e0-4baa-ac33-4bacbdbe9c66

Init venv

python3 -m venv venv

Activate venv

source venv/bin/activate

Deactivate venv

deactivate

Install requirements

pip install -r requirements.txt

Start dev server

uvicorn app.main:app --reload

About

Backend for research phonetic components of chinese caracters

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published