Skip to content

PyKej/Shopping-REST_API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Shopping REST API

Project Description

This project was inspired by an assignment from one of my courses at STU FEI University in the subject Object-Oriented Programming (OOP).
I reworked the assignment into Python and added some extra logic to a few endpoints.

Old Assigement: https://github.com/Interes-Group/zadanie-3-eshop-PyKej

Old Swagger: https://app.swaggerhub.com/apis-docs/sk-stuba-fei-uim-oop/OOP_Zadanie_3/1.0.0#/

Setup Instructions

Install FastAPI and Uvicorn

pip install fastapi uvicorn

Start the Server

uvicorn main:app --reload

Explanation of the command:

  • main β†’ the filename (main.py)
  • app β†’ the FastAPI instance (app = FastAPI())
  • --reload β†’ automatically restarts the server when you change the code

Explore the REST API

Open one of the following in your browser:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages