Skip to content

Database Setup

Rohan Ravindran requested to merge add-database-setup into main

Closes #3 (closed)

  • Created a singleton database class, ensuring that a single database connection can be used throughout the application (instantiate it when needed)
  • Used JDBC for the database connection, as mentioned in the course slides on databases
  • Created a setupDatabase method that creates the tasks table in the database if not already present
  • Created an insertTask function, which will be used in future sprints to persist tasks to the database
Edited by Rohan Ravindran

Merge request reports