UniForum is a platform designed for university students to share posts, comment on posts, and like comments and posts, similar to Twitter. Users register by selecting their university and department.
backend: Contains the Spring Boot source code for the backend.
- User registration and login.
- Post sharing.
- Commenting on posts.
- Liking posts and comments.
- University and department selection during registration.
- Backend: Spring Boot
- Database: PostgreSQL
Make sure you have the following installed on your system:
- Java (JDK 8 or higher)
- Maven
- PostgreSQL
Follow these steps to set up and run the project locally.
-
Clone the repository:
git clone https://github.com/bunyaminkalkan/uniforum.git cd uniforum/backend -
Update the database configuration in
src/main/resources/application.properties:spring.datasource.url=YOUR_DATABASE_URL spring.datasource.username=YOUR_DATABASE_USERNAME spring.datasource.password=YOUR_DATABASE_PASSWORD
-
Build the Spring Boot application using Maven:
mvn clean install
-
Run the Spring Boot application:
mvn spring-boot:run
The Spring Boot application should now be running on http://localhost:8080.
Under Construction
- Open your browser and navigate to
http://localhost:8080to access the backend API. - Use the API to perform user registration, login, and other available actions.
Contributions are welcome! Please fork the repository and create a pull request with your changes.
This project is licensed under the MIT License. See the LICENSE file for details.
For any inquiries or feedback, please contact [bnkalkan41@gmail.com].