Skip to content

Latest commit

 

History

History
21 lines (20 loc) · 545 Bytes

README.md

File metadata and controls

21 lines (20 loc) · 545 Bytes

README

How to run

  1. Install python (this program uses 3.11.8)
  2. Install psycopg2 with pip install psycopg2
  3. Run postgres
  4. Create students table in postgres with
CREATE TABLE students(
	student_id SERIAL PRIMARY KEY,
	first_name VARCHAR(255) NOT NULL,
	last_name VARCHAR(255) NOT NULL,
	email VARCHAR(255) NOT NULL UNIQUE,
	enrollment_date DATE
);
  1. Add login info to operations.py
  2. Navigate to the project folder
  3. Run py main.py in the terminal

Demo Video

https://youtu.be/wAQd2-2vOxw