Skip to content

sharathkramadas/flask-sql-101

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask SQL 101

  • 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 

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published