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

https://github.com/thepushkarp/small-db-test


https://github.com/thepushkarp/small-db-test

Last synced: 5 months ago
JSON representation

Awesome Lists containing this project

README

          

# Simplified Book Management App

## Overview
This project is a simplified demonstration of using SQLAlchemy in Python to manage a book database. It includes basic operations such as adding and retrieving books.

## Setup

### Requirements
- Python 3
- SQLAlchemy

### Installation
1. Install the required packages: `pip install -r requirements.txt`
2. Run the application: `python app.py`

## SQL Schema
The `schema.sql` file contains the SQL commands to create the `books` table and insert sample data.

## Application Details
`app.py` demonstrates how to use SQLAlchemy for basic database operations. It includes a simple `Book` model and functions for adding and retrieving books from the database.