Skip to content

2andrew/qa_guru_python_intro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

To setup project:

python -m venv ENV
source ENV/bin/activate
pip install -r requirements.txt

To run webservice

uvicorn app.main:app --reload

To run tests

pytest

API examples:

  • localhost:8000/api/users/1 returns
{
    "id": 1,
    "name": "Alice",
    "email": "alice@example.com"
}
  • localhost:8000/api/users/ with body
{
    "name": "test",
    "email": "test@test.te2st"
}

To check formatting: ruff check

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages