Skip to content

myashchenko/social-network

Repository files navigation

Social network

Build Status codebeat badge codecov Codacy Badge

Social Network - is a project aimed to develop high-scalable, fast and easy to contribute social network. The purpose of this project is to show the best practices of complex systems development.

Project uses the latest release version of Java - 10 and modern frameworks. Social Network - is a project built on top of microservices architecture where each service is responsible for one thing that allows to scale them independently.

Architecture

Development environment:

dev env

Start order

Microservices depend on each other, so the start order should be:

  • sn-auth-service
  • sn-discovery-service
  • sn-gateway-service
  • other services

Docker

Development might be done using Docker. Each service has a build job to create a docker image. There is docker-compose.yml file that connects all services together. To update and run docker env please use the following commands:

./gradlew clean build
./scripts/docker_all.sh
docker-compose up