Skip to content

EfeGuler00/bcfm-case

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BCFM Case

Endpointler

  • GET / -> {"msg":"BCFM"}
  • GET /health -> {"status":"healthy"}
  • POST /post -> Body'den gelen key ve value body'ye geri döndürülür.

Goruntuler

/ Endpoint

Home endpoint

/health Endpoint

Health endpoint

Lokal Çalıştırma

python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python app.py

Uygulama varsayılan olarak 8093 portunda calışır.

Docker

docker compose up -d --build

Test Örnekleri

curl http://localhost:8093/
curl http://localhost:8093/health
curl -X POST http://localhost:8093/post \
  -H "Content-Type: application/json" \
  -d '{"key":"a","value":"b"}'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors