You are browsing as a guest. Sign up (or log in) to start making projects!

2h 0m 15s logged

DEVLOG #2

Created all the database models along with database.py with the boilerplate code for making database and tables.

Database models that I made:

  1. Team -> id, team_name, created_at
  2. User -> id, full_name, username, email, hashed_password, role, team_id, solo_team_id, created_at
  3. Lead -> id, team_id, name, phone_number, website, rating, created_at

I also made some changes to scraper.py by adding more filtering such that:

  • If business does not have any phone number but has a website, lead is added.
  • If business has a phone number but no website, lead still added.
  • if business does not have any phone number or website, it is basically useless and excluded.

I have not faced any major challenges yet as it has mostly been boilerplate code straight from the docs or simple repetitive code. To be honest, this has been boring. But, now I will be starting with the FastAPI stuff and actually start making the API and I am very excited for that.

0
50

Comments 0

No comments yet. Be the first!