- Step 1: Build the docker image
docker build -t flask-app -f Dockerfile .
- Step 2: Run the docker compose file
docker compose up -d
- Step 3: Create a new user
http POST http://localhost:5000/users/create first_name=John last_name=Doe [email protected]
- Step 4: Query a single user
http GET http://localhost:5000/users/read/1
- Step 5: Update a single user
http PUT http://localhost:5000/users/update first_name=Jane last_name=Doe [email protected]
- Step 6: Delete a user
http DELETE http://localhost:5000/users/read/1