Skip to content

Latest commit

 

History

64 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ITSC-3155 Final Project: Restaurant Management System API

A RESTful API for managing a restaurant's menu, orders, and customers using FastAPI and an SQL database.

Setup Instructions

A Python environment is required.

Install the necessary packages:

  • pip install -r requirements.txt

Configure Database:

By default, the API can use MySQL or SQLite. Check the Technical Documentation for explanations on the easy switch. You can change the database URL in api/database.py to connect to a different SQL database. Example for MySQL:

DATABASE_URL = "mysql+pymysql://username:password@localhost/db_name"

for SQLite: ''' DATABASE_URL = "sqlite:///nameof.db"

Run the server:

uvicorn api.main:app --reload

Test API via built-in docs:

http://127.0.0.1:8000/docs

About

ITSC 3155 Group Project

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages