Skip to content

Store employees in a Firestore database, and customize and print their business cards.

Notifications You must be signed in to change notification settings

opera22/CardDesigner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

CardDesigner is a command-line program for employers looking to print out business cards for their employees. You can store and manipulate basic employee information like name, title, phone number, and email--this is all done with Firebase. Once the information is in the database, you move on to the business card menu, where you design and download the cards by simply entering an employee ID number. The image manipulation is done with Pillow.

Environment

  • Pillow via PIP install
  • firebase_admin via PIP install
  • You must set up a Firestore database and put the serviceAccountKey.json file in your directory.
  • Python 3.8

Execution

  • Hit Run, and you will be welcomed by the main menu.

    Main Menu

  • Once you've added the employee to Firebase, you can view all of your employees.

    Employee list

  • Here is what it looks like on Firebase (it's one collection called "employees" with a document for each employee):

    Firebase screenshot

  • And finally, to print an employee's business card, go to the designer menu, where you can also change style attributes like border width, font, color.

Business card designer menu

  • It will download the card to your main directory, and from there you can do what you will with it.

Business card

  • Here is another example:

Business card 2

  • If you'd like to modify an employee's information, go to the Update Employee menu.

Update Employee Menu

Useful Websites

About

Store employees in a Firestore database, and customize and print their business cards.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages