A simple Python project using SQLAlchemy and SQLite to track freebies given to developers by companies.
Follow these steps to fork the repo, set up your environment, create the database, seed it with sample data, and run the test script to see the output.
- Fork this repository to your own GitHub account.
- Clone your fork locally:
git clone =https://github.com/PEEZYBEE/python-p3-freebie-tracker
cd python-p3-freebie-track
Make sure you have Python 3 installed.
```bash
-pipenv install
-pipenv shell
## Run the script to create the SQLite database and tables:
``bash
-python create_db.py
Expected output:
✅ freebies.db created and tables initialized!
Populate the database with initial sample data:
-python seed.py
Expected output:
✅Database created successfully!
Run the Debug/Test Script
Run the script to fetch and print all freebies from the database:
-python debug.py
Expected output (example):
✅Freebie: Sticker | Value: 5 | Dev: Alice | Company: Safaricom
✅Freebie: T-shirt | Value: 20 | Dev: Bob | Company: Airtel
MIT License
by peezybee