Berana is an education focused social media program where users can create text-based posts and follow other users.
These instructions will get you a copy of the project up and running on your local machine.
- Clone the repository
- Create a SQL server database named BeranaUsers, and the sql tables by executing the queries found in
./Database.sql
- Start Apache NetBeans IDE.
- On the menu bar, choose File -> Open Project.
- Specify location of the project.
- Modify the username and password values found in
./src/berana/Conndb.java
to the username and password of your SQL Server - Click the Run button or press F6 key to execute the project.
Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");
String url = "jdbc:sqlserver://localhost:1433;databasename=BeranaUsers";
Connection connectDb = DriverManager.getConnection(url,"username","password");
- Liul Alemayehu - Initial work