Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alexander784/restaurantssql

This a Restaurant Review Project that uses SQLAlchemy to model Relationships between Customers,reviews and Restaurants.
https://github.com/alexander784/restaurantssql

engine relationships sqlalchemy sqlite3

Last synced: 2 days ago
JSON representation

This a Restaurant Review Project that uses SQLAlchemy to model Relationships between Customers,reviews and Restaurants.

Awesome Lists containing this project

README

        

## Restaurant Review
This a Restaurant Review Project that uses SQLAlchemy to model Relationships between Customers,reviews and Restaurants.

## Topics
1. SQLAlchemy Migrations
2. SQLAlchemy Relationships
3. Class and Instance Methods
4. SQLAlchemy Querying

## Description
For this Project we are working with restaurant review domain where we have three models.It demonstrates the usage of ORM to interact with a database, create relationships between entities, and perform basic operations like querying and updating data.

1. Review
Defines the Review class with the methods for handling reviews and their details
2. Restaurant

Defines Restaurant class with methods foe managing restaurant information and reviews.

2. Customer

Defines customer Class with methods for managing customer information and reviews.

## Usage

1. Initialize the Database:

The application uses Sqlite in memory.
2. Run the Application:
Excute the app script to see the sample usage:

python3 app.py

3. Explore the Code:
Review the classes defitions in each file. Customer.py, Review.py, Restaurant.py.

## Author:
Alexander Nyaga.

License
This Project is Licensed by the MIT License.