rootCircle / codemark-cli

CLI app for Codemark for HOF v4.0
https://devfolio.co/projects/codemark-251c
Apache License 2.0
6 stars 5 forks source link

feat: adds signup function to the cli for both students and professors #12

Closed AnuraagReddy123 closed 8 months ago

AnuraagReddy123 commented 8 months ago

This pull request introduces a new feature that enabes users to create new user profiles directly from the command line interface (CLI). The users can be either students or professors. Changes made:

  1. Added register method in the FirebaseDB class in database.py
  2. Created a file signup.py to register users
  3. Added the signup function in cm_cli.py
  4. Created interactive prompts for gathering user information
  5. Users are stored in the real time database

To use the feature run, codemark signup

rootCircle commented 8 months ago

Solves #1

rootCircle commented 8 months ago

Everything looks good to me! I will do some testing on my side, before I merge in!

rootCircle commented 8 months ago

LGTM :+1: Merged! Thanks for your contribution @AnuraagReddy123 :smiley:

AnuraagReddy123 commented 8 months ago

Thanks a lot! I learnt a lot from you!