{"id":23260141,"url":"https://github.com/kostadinlambov/social-network","last_synced_at":"2025-08-20T16:33:40.939Z","repository":{"id":44308502,"uuid":"169178879","full_name":"kostadinlambov/Social-Network","owner":"kostadinlambov","description":"Social-Network is a Stateful app built with Spring Boot, MySQL and React.","archived":false,"fork":false,"pushed_at":"2023-04-30T09:34:41.000Z","size":97286,"stargazers_count":44,"open_issues_count":7,"forks_count":13,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-16T18:18:47.371Z","etag":null,"topics":["cloudinary-api","docker-compose","hibernate-orm","java","javascript","junit4","jwt-authentication","maven","mockito","mysql","react-router-v4","reactjs","redux","redux-thunk","rest-api","sockjs","spring-boot","spring-data-jpa","spring-security","spring-websocket"],"latest_commit_sha":null,"homepage":"https://social-network-kl.herokuapp.com/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kostadinlambov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-02-05T02:05:37.000Z","updated_at":"2024-03-30T10:01:26.000Z","dependencies_parsed_at":"2022-07-21T22:33:39.439Z","dependency_job_id":null,"html_url":"https://github.com/kostadinlambov/Social-Network","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kostadinlambov%2FSocial-Network","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kostadinlambov%2FSocial-Network/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kostadinlambov%2FSocial-Network/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kostadinlambov%2FSocial-Network/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kostadinlambov","download_url":"https://codeload.github.com/kostadinlambov/Social-Network/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230438244,"owners_count":18225873,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cloudinary-api","docker-compose","hibernate-orm","java","javascript","junit4","jwt-authentication","maven","mockito","mysql","react-router-v4","reactjs","redux","redux-thunk","rest-api","sockjs","spring-boot","spring-data-jpa","spring-security","spring-websocket"],"created_at":"2024-12-19T13:14:36.154Z","updated_at":"2024-12-19T13:14:36.856Z","avatar_url":"https://github.com/kostadinlambov.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Social-Network\n\nSocial-Network is a Stateful app built with [Spring Boot](http://spring.io/projects/spring-boot), [MySQL](https://www.mysql.com/) and [React](https://reactjs.org/).\n\nFeatures:\n- Routing\n- User authentication: Register/Login/Logout\n- 3 User Roles: Root, Admin and User\n- Promoting/Demoting users to Admin/User\n- Creating and deleting users\n- Editing user profile\n- Searching for friends\n- Sending and accepting friend requests\n- Removing friends from the friends list\n- Adding and deleting photos\n- Creating and deleting posts\n- Creating and deleting comments\n- Chat functionality: writing and receiving messages from your friends\n- Logs history\n\nThe project is deployed on [Heroku](https://social-network-kl.herokuapp.com/).\n\n**Admin Credentials:**\n- username: john\n- password: 1111\n\n## Requirements\n\n1. Java 11\n\n2. In order to be able to save `Photos` you need to sign up to [Cloudinary](https://cloudinary.com/) and enter your credentials in the `application.properties` file of the Spring Boot app (`SocialNetwork\\Server\\src\\main\\resources\\application.properties`)\n\n## Start the app\n\n### **Option 1 - Start the Client and the Server manually**\n\n#### 1. Start the Client\n\nTo start the Client you need to enter the `SocialNetwork/Client` folder:\n\n```bash\n$ cd SocialNetwork/Client\n```\n\nInstall all dependencies:\n\n```bash\n$ npm install\n```\n\nRun the app in the development mode:\n\n```bash\n$ npm start\n```\n\nOpen [http://localhost:3000](http://localhost:3000) to view it in the browser.\n\n#### 2. Start the Server\n\nGo to the root directory of the Spring Boot app:\n\n```bash\n$ cd SocialNetwork/Server\n```\n\nStart the Server:\n\n```bash\n$ mvn spring-boot:run\n```\nThe Server is running on port `8000`.\n\n\n### **Option 2 - Start the application in Docker**\n\n1. **Start the application**\n\nGo to the project directory( `SocialNetwork/` ) and run:\n\n```bash\n$ docker-compose up -d\n```\n\nThe front-end server will start on port `9090`. To open it enter in your browser:\n\n```bash\n$ http://localhost:9090\n```\n2. **Stop the application**\n\nYou can stop the containers with:\n\n ```bash \n $ docker-compose down\n ```\n\n## App screenshots\n\n1. **Home Page**\n\n ![App Screenshot](readme-images/kl-social-network-home-gregor.PNG)\n\n2. **Friends Page**\n\n ![App Screenshot](readme-images/kl-social-network-friends-gregor.PNG)\n\n3. **Photos Page**\n\n ![App Screenshot](readme-images/kl-social-network-photos-gregor.PNG)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkostadinlambov%2Fsocial-network","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkostadinlambov%2Fsocial-network","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkostadinlambov%2Fsocial-network/lists"}