Skip to content

alamhanz/simple-fastapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple-fastapi

Simple Example of API using fastapi

How to use

  • Install requirements by pip install -r requirements.txt
  • Delete NewUserDB.db and run make create-db
  • open terminal / cmd and run make run-api
  • open another terminal to interact with the api.
    • You can use make post-one-sample for one example
    • or use curl : curl -X POST http://127.0.0.1:8085/users/ -H "Content-Type: application/json" -d @[json-file]

About

Simple Example of API using fastapi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published