Explore the report »
Documentation »
The project is developed and maintained by:
The current market includes several social networks, each differentiated primarily by the type of post that users can publish. This project aims to create the backbone of a generic social network, from which it would be possible to specialize into a fully-fledged application by identifying a particular type of post or adding distinctive features.
$ git clone https://github.com/GiacomoRomagnoli/Social-Network.git
$ cd Social-Network
$ echo -n <password> > db-password.txt
$ echo -n <root-password> > db-root-password.txt
$ docker compose up
Note: Some microservices include docker-compose files to demonstrate how to deploy a single microservice. The steps to execute are similar to those described above, except for the directory in which you need to navigate. In order to build the images and run the docker-compose files of ‘user-service’ and ‘friendship-service’ follow those steps:
$ docker build -t social-network-user-service -f Dockerfile .
or (friendship-service):
$ docker build -t social-network-friendship-service -f Dockerfile .
$ docker-compose up -d
Note: About ‘content-service’, if required, in order to build the service it is necessary to first run gradle task ‘compileTypescript’ in order to install the necessary dependencies and avoid errors. Since the docker-compose file only runs the database using an image from docker hub, it is only needed to run the command:
$ docker-compose up -d