Skip to content

Creating a GUI for interacting with a MySQL database and implementing functions such as insert, delete, update

License

Notifications You must be signed in to change notification settings

vigviswa/GUI-based-Database-Application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contacts

Technologies and Tools Used:

  1. Python
  2. Flask
  3. sqlalchemy
  4. wtforms
  5. pandas
  6. Google cloud platform
  7. Mysql

Setup:

Download the zip provided on eLearning to get all the files involved in the project. Also, the same files can be obtained from my GitHub repository: here The repository is named: GUI Based Database Application

After downloading, go to the directory where the file is downloaded and setup the environment and packages by using the command:

pip install -r requirements.txt

Also to note that the environment variables used in the project are:

SECRET_KEY=cs6360; MYSQL_HOST=35.225.127.97; MYSQL_USER=contacts-user; MYSQL_PASSWORD=cs6360; MYSQL_DB=dev_contacts

Process:

  1. Run the main.py to deploy the Flask app on a local server. The app is configured to run at port 5000.

  2. The Add Contact Link can be seen on the menu bar, is used to add a new contact to the app.

  3. The Homepage lists all the contacts currently listed in the application, ordered according to their time of creation.

  4. The Edit Contact is not explicitly listed. The contact listing is itself a hyperlink, which redirects the user to edit the current contact.

  5. The Search Contact functionality can be achieved through the Search Bar provided on the Homepage. The Search results can be seen by clicking on the Search Button and lists the editable contacts which match the search.

  6. The Delete Contact function is integrated with the edit contact and the button to delete contact can be listed when you click on the contact to edit it.

About the App:

The App can work as a general purpose contact listing application such as Google Contacts

Kindly Try out the app by adding/deleting/editing created contacts.

In the Edit contact page, If the date/address/phone field has only one row listed and you were to delete it, Kindly add a new row, by clicking the '+' and then delete the original row.

Feel free to contact me if any issue arises during running the app.

Contact

If you loved what you read here and feel like we can collaborate to produce some exciting stuff, or if you just want to shoot a question, please feel free to connect with me on LinkedIn

About

Creating a GUI for interacting with a MySQL database and implementing functions such as insert, delete, update

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published