Skip to content

AquaShotRyan/simple-psycogp2-program

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

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

About

An assignment for school

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages