Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/liulalemx/berana
An education focused social media platform.
https://github.com/liulalemx/berana
java sql sql-server
Last synced: 1 day ago
JSON representation
An education focused social media platform.
- Host: GitHub
- URL: https://github.com/liulalemx/berana
- Owner: liulalemx
- Created: 2021-02-08T17:03:30.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-02-17T13:44:55.000Z (almost 4 years ago)
- Last Synced: 2024-11-18T00:15:15.698Z (1 day ago)
- Topics: java, sql, sql-server
- Language: Java
- Homepage:
- Size: 588 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Berana
Berana is an education focused social media program where users can create text-based posts and follow other users.
![Berana Usage](./beranaDemo.gif)
## Getting Started
These instructions will get you a copy of the project up and running on your local machine.
### Prerequisites
- [Java](https://www.java.com/en/)
- [IDE (Net Beans)](https://netbeans.apache.org/download/index.html)
- [Microsoft SQL Server](https://www.microsoft.com/en-us/sql-server/sql-server-downloads)## Usage
1. Clone the repository
1. Create a SQL server database named BeranaUsers, and the sql tables by executing the queries found in
`./Database.sql`
1. Start Apache NetBeans IDE.
1. On the menu bar, choose File -> Open Project.
1. Specify location of the project.
1. Modify the **username** and **password** values found in `./src/berana/Conndb.java` to the username and password of your SQL Server
1. Click the Run button or press F6 key to execute the project.### Modifying the username and password values
```java
Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");
String url = "jdbc:sqlserver://localhost:1433;databasename=BeranaUsers";
Connection connectDb = DriverManager.getConnection(url,"username","password");
```## Authors
- **Liul Alemayehu** - _Initial work_