Skip to content

Ian-wafula1/python-p3-freebie-tracker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧢 Dev Freebie Tracker

Track and manage all the awesome tech swag (aka freebies) developers collect at hackathons, meetups, and conferences. This app lets you manage devs, companies, events, and the goodies handed out along the way.

📦 Features

  • Track developers and their roles
  • Store company details
  • Add and manage tech events
  • Record freebies handed out to devs by companies
  • Many-to-many relationships between Devs, Events and Companies
  • Keeps track of the devs and companies that attended an event
  • Keeps track of all the freebies handed out at an event

🧱 Tech Stack

  • Python 3.11+
  • SQLAlchemy ORM
  • SQLite3
  • Alembic for migrations
  • Spotify (for REAL vibe coding 😎🎵)

Entity Relationship Diagram

Entity Relationship Diagram

🧮 Models

Dev

  • Holds data for developers
  • Relationships:
    • freebies: One-to-Many
    • events: Many-to-Many via dev_event

Company

  • Data for companies that participated in events
  • Relationships:
    • freebies: One-to-Many
    • events: Many-to-Many via company_event

Event

  • Data for different events
  • Relationships:
    • devs: Many-to-Many via dev_event
    • companies: Many-to-Many via company_event
    • freebies: One-to-Many (indirectly through devs or companies)

Freebie

  • Freebies handed out by companies in events
  • Relationships
    • devs: One-to-Many
    • companies: One-to-Many
    • events: One-to-Many (indirectly through devs or companies)

🧪 Setup Instructions

  1. Clone the repo and navigate into the folder
git clone https://github.com/your-username/dev-freebie-tracker.git
cd dev-freebie-tracker
  1. Launch the virtual environment for the project
pipenv install && pipenv shell
  1. Run migrations
alembic upgrade head
  1. Generate seed data
cd lib
python seed.py
  1. Run the debug file to interact with the system
python debug.py

🧾 License

  • MIT — use, remix, build on it freely.

About

No description, website, or topics provided.

Resources

Contributing

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages