pyBegin / projects / restrauntapi
🔌

Restraunt_API

The Restaurant API consists of: adding items to the menu, viewing the menu, searching for menu items based on a string, creating orders, and displa…

23 lines🖥 Desktop only

Restraunt_API

The Restaurant API consists of: adding items to the menu, viewing the menu, searching for menu items based on a string, creating orders, and displaying previous orders for a user.

Add to Menu:

View Menu:

Both the "Add to Menu" and "View Menu" functions are implemented using a single endpoint with POST and GET methods, respectively.

Search Menu Based on String:

Create Order:

View Past Orders:

How to run

pip install -r requirements.txt
cd Restraunt_API
python manage.py migrate
python manage.py runserver

Dependencies

Pyodide-runnable

No - it is a Django web application that requires a running HTTP server and database, which cannot run in the browser sandbox.