Skip to content

Latest commit

 

History

History
16 lines (14 loc) · 863 Bytes

File metadata and controls

16 lines (14 loc) · 863 Bytes

fastapi-basic-implementation

Basic implementation of FastAPI. (Beginner)

  1. Install Python if you don’t have that already.
  2. Read the documentation from here: https://fastapi.tiangolo.com/
  3. Go to the installation section to know how to make a basic API from here: https://fastapi.tiangolo.com/#installation
  4. Follow their basic instructions and use the file index.py
  5. Run the server.
  6. Install Postman from this link → https://www.postman.com/downloads/
  7. Open postman after installing it(Try to use without signing up, but no problem if you do sign up).
  8. Test the endpoints using Postman.
  9. Select "APIs".
  10. Click "new".
  11. Select HTTP Request.
  12. Put your endpoint in the URL address [ localhost:5000 ]. For example: localhost:5000/item. Then, click "Send".