Coder Social home page Coder Social logo

cz-4031-project-2's Introduction

cz4031-project-2

This repository contains the implementation for Project 2 of "Database Systems Principles (CZ/CE4031)".

Requirements

  1. Extract files from zip file cz4031-project-2.zip
  2. Enter directory cz4031-project-2
  3. Python version >= 3.9

Install dependencies

pip install -r requirements.txt

Login Details

  1. Access the preprocessing.py file and edit lines 9-12
  2. Lines 9-12 will be edited according to the User's Database Account Details

Two ways to run the program

  1. Run the python file (project.py)
  2. Run in terminal

1. Python file

  1. Double click project.py to open the program in an IDE of your choice
  2. Run project.py in the IDE.

2. Run in terminal

  1. Launch terminal in project directory
  2. Type the following to run project.py
   python project.py

or

   python3 project.py

MANUAL FOR OUR PROGRAM

  1. Before running project.py, the User should first open preprocessing.py and edit their User Login Details from lines 9-12 for their Postgres Database.

  2. After running project.py, there will be a pop-up window and the program will first ask the user to input their sql query on the left side of the UI. The user will then press submit. If the user’s input details is incorrect, the pop-up window will exit.

  3. After pressing submit the UI will display the output formatted query and the annotations on the right side of the UI.

  4. Before type in the new query, please click the clear button to clear the current output and query in the input box.

cz-4031-project-2's People

Contributors

mibn21 avatar mist0919 avatar macayo12138 avatar limjiajing avatar lishengjaw 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.