Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

test_API_service

install docker and python

sudo apt update
sudo apt install docker-compose python3

download project

git clone https://github.com/graffwinterfield/test_API_service.git
cd test_API_service/
pip install -r requirments.txt

start

docker-compose up -d
python3 main.py

image

usage

curl -X POST -H "Content-Type: application/json" -d "{\"questions_num\": 100}" http://127.0.0.1:5000/api/generate_questions/

image

manage Database

http://127.0.0.1:5000/admin

image

test for check request time

python3 test.py

image

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages