Java Project developed to simulate a soccer system to save information about teams and players in a database.
Dependencies: you need JDBC, PgAdmin and JDK installed to run it.
-
Clone this repository:
git clone https://github.com/erikgaborim/Soccer-System.git
-
Import it on your IDE;
-
Create a database on your PgAdmin, paste there the script "scriptSQL.txt", that's inside the folder "ScriptSQL", and run it there;
-
Change file "ConnectionFactory.java" inside the folder "jdbc". Where is write:
return DriverManager.getConnection("jdbc:postgresql://localhost/P2LP", "postgres", "password");
change "P2LP" for your database name and "password" for your password;
-
Run it on Eclipse.