farkam135 / Myrmey-Assist

The all-in-one UCI SOC
https://myrmeyassist.com
MIT License
1 stars 1 forks source link

Setup PostgreSQL database connection #17

Closed farkam135 closed 7 years ago

farkam135 commented 7 years ago

Adds a PostgreSQL connection with some helper functions in myrmeydb.js. You have to setup PostgreSQL on your local machine, create a db and run the sql located in setup/myrmeydb.sql in order to create the required tables. Once it's setup go to config.json and change those values to represent your setup. Once it's setup, on login, it will pull all manually added courses from completed_courses and store your grades in grades.

This resolves Issue #5