Giter VIP home page Giter VIP logo

bu-software-arch's Introduction

BU-SOFTWARE-ARCH

Prompt

Hey, my name's Jim.

I have a problem. I can't remember phone numbers.

Can you help me?

Here's what I need:

    Some app to remember phone numbers for me
    I need to be able to enter, retrieve, and edit contacts
    I need to know each contacts first and last name and their phone number
    I need to be able to search my contacts

Our Goals

Use tkinter to make a simple and easy to use GUI that uses our sqlite database.

Database

SQLITE database called phone_numbers.db

there is a table called contacts

created with the command below.

create table contacts ( 
    first_name TEXT NOT NULL,
    last_name TEXT NOT NULL,
    phone TEXT NOT NULL UNIQUE,
    birth TEXT NOT NULL
);

This is what we will use to update, edit, and insert contacts.

Let's create a few default values

INSERT INTO contacts (first_name, last_name, phone) VALUES('Alan', 'Turing', '1234561337', 'June 23, 1912');
INSERT INTO contacts (first_name, last_name, phone) VALUES('Linus', 'Torvalds', '4445551337', 'December 28th, 1969');
INSERT INTO contacts (first_name, last_name, phone) VALUES('Kevin', 'Mitnick',  '3133731337', 'August 6th, 1963');

UI

UI

Testing

There are some tests in tests.py These test how we interact with the database and ensure that our birthday validation is correct Tests

Running

To install python libraries python3 -m pip install -r requirements.txt To run application python3 jim_application.py

bu-software-arch's People

Contributors

bosstheo14 avatar 0x05a avatar jadengriffith avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.