Sample application of mongoDB with fastAPI Implement a simple CRUD
setup&start server
make setup
make start
post
curl -XPOST \
-H "Content-Type: application/json" \
-d '{"payload": {"title": "sample", "text": "hogehoge", "author": "gehogeho"}}' \
http://localhost:8000/post
get
curl -XGET -H "Content-Type: application/json" http://localhost:8000/post