{"id":23984685,"url":"https://github.com/sayatsap/social-network","last_synced_at":"2026-04-12T15:07:40.374Z","repository":{"id":240507696,"uuid":"802747841","full_name":"sayatsap/social-network","owner":"sayatsap","description":"Spring Boot Social Network project","archived":false,"fork":false,"pushed_at":"2024-05-30T17:43:53.000Z","size":170,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-07T13:42:29.284Z","etag":null,"topics":["docker","hibernate","java","jwt","jwt-authentication","jwt-token","lombok","maven","openapi3","postgres","spring","spring-boot","spring-security-jwt","swagger-ui"],"latest_commit_sha":null,"homepage":"","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/sayatsap.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-19T06:45:54.000Z","updated_at":"2024-05-30T17:43:57.000Z","dependencies_parsed_at":"2024-05-29T15:59:29.952Z","dependency_job_id":"b44461c3-2469-41e6-9908-fe07074c2224","html_url":"https://github.com/sayatsap/social-network","commit_stats":null,"previous_names":["nomadbala/social-network","sayatsap/social-network"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sayatsap%2Fsocial-network","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sayatsap%2Fsocial-network/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sayatsap%2Fsocial-network/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sayatsap%2Fsocial-network/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sayatsap","download_url":"https://codeload.github.com/sayatsap/social-network/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240587518,"owners_count":19825003,"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":["docker","hibernate","java","jwt","jwt-authentication","jwt-token","lombok","maven","openapi3","postgres","spring","spring-boot","spring-security-jwt","swagger-ui"],"created_at":"2025-01-07T13:37:05.925Z","updated_at":"2026-04-12T15:07:40.303Z","avatar_url":"https://github.com/sayatsap.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spring Boot Social Network\r\n\r\n## Description\r\nThis is a little pet project that i made with my good friend Ilya. This project represents a simple rest api for social network. To access the features, user need to register on the website. Then they can modify their user pages and make, read, like posts of other peoples.\r\nFor authentication mechanism we used a JWT based Spring Security authentication. The project follows a SOLID and Clean Code principals\r\n\r\n### Technologies used\r\n* Spring ( Boot, Framework, Security )\r\n* Java\r\n* Liquibase\r\n* Lombok\r\n* Spring Data JPA ( Hibernate )\r\n* json-web-token\r\n* PostgreSQL\r\n* OpenApi\r\n* SwaggerUI\r\n\r\n### Features\r\n* Authentic user registration with implemented JWT token based authorization\r\n* ORM using Hibernate\r\n* Database migration with Liquibase\r\n* Create, read, like and etc. with posts\r\n* Included OpenApi and SwaggerUI to see all project`s endpoints and get an example how to use it\r\n\r\n### Getting started\r\nTo get started with this project, you can run it locally or Using Docker\r\n\r\n#### Running Locally\r\n1. Clone this repository to your local machine.\r\n2. Configure the database settings in application.yml and liquibase.properties.\r\n3. Build and run the application using Maven or Gradle.\r\n4. Access the API endpoints to interact with the service.\r\n   \r\n#### Running with Docker\r\n1. Clone this repository to your local machine.\r\n2. Make sure you have Docker and Docker Compose installed on your system.\r\n3. Open a terminal and navigate to the project directory.\r\n4. Run the following command to build and start the application:\r\n```\r\ndocker-compose up --build\r\n```\r\n5. Once the containers are up and running, the application will be accessible at http://localhost:8080.\r\n6. Access the API endpoints to interact with the service.\r\nBy default, the Docker Compose configuration will spin up a PostgreSQL container alongside the Spring Boot application.\r\n\r\n\r\n### API Endpoints\r\n```\r\n/api/auth\r\n  POST /api/auth/register - Register a new user\r\n  POST /api/auth/login - Login to the application and receive a JWT Token\r\n```\r\n\r\nAnd also you can see all endpoints and examples to use, by running your project and visit localhost:8080/swagger-ui.html\r\n\r\n### Contributing\r\nConribution are welcome! Feel free to open issues or pull requests to suggest improvements or report bugs.\r\n\r\n### License\r\nThis project doesn`t have any license yet.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsayatsap%2Fsocial-network","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsayatsap%2Fsocial-network","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsayatsap%2Fsocial-network/lists"}