Giter VIP home page Giter VIP logo

course-genie's Introduction

BU Course Genie

A solution to minimizing the number of BU courses you have to take to fulfill HUB Requirements

Installation and setup

Setting up virtual environment

python3.9 -m pip install --upgrade pip
python3.9 -m venv venv
source venv/bin/activate

Necessary installations

pip install Flask
pip install python-dotenv
pip install psycopg2
pip install flask_sqlalchemy
pip install flask-cors
npm install -g @angular/cli

Running code

You must use two separate terminals so you can run the frontend in one and the backend in the other.

python3.9 app.py
cd frontend
ng serve

Database interactions

  1. Connecting to a certain DB as a specific user
    psql -U username -d database_name
  2. Listing data tables
    \dt
  3. Showing data table schema
    \d table_name
  4. Showing roles of DB
    \du
  5. Showing data within a data table
    SELECT * FROM table_name;

Fixes to Common Issues

  • Access to 127.0.0.1 was denied ( visit chrome://net-internals/#sockets and Flush socket pools )

Resources

Geeks for Geeks

course-genie's People

Contributors

wyattnapier avatar owenm-26 avatar

Stargazers

 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.