Profile service is responsible for managing the user profile information in the LetsStreamIt platform. It manages the user's username, bio, and watched videos.
In order to run the project, you need to have the following tools installed on your machine:
To install the project, you need to clone the repository:
git clone https://github.com/LetsStreamIt/profile-service.git
cd profile-service-
You can either run the application using the
sbtcommand:sbt run
-
Or you can build the Docker image:
sbt docker:publishLocal
And run it using Docker:
docker run -p 8080:8080 ghcr.io/letsstreamit/profile-service:latest
-
Or using docker-compose in a similar way to the one found at the LetsStreamIt/bootstrap repository.
If you want to configure the application, you may set the following environment variables:
| Variable | Description | Default |
|---|---|---|
PROFILE_SERVICE_HOSTNAME |
The hostname of the profile service | localhost |
PROFILE_SERVICE_PORT |
The port of the profile service | 8080 |
MONGO_HOSTNAME |
The hostname of the MongoDB server | localhost |
MONGO_PORT |
The port of the MongoDB server | 27017 |
AUTH_SERVICE_HOSTNAME |
The hostname of the auth service | localhost |
AUTH_SERVICE_PORT |
The port of the auth service | 3000 |
AKKA_LICENSE_KEY |
The license key for Akka, you can get it at https://akka.io/key | "" |
The documentation and API reference can be found at the API documentation.
If you want to contribute to the project, please read the CONTRIBUTING.md file.
This project is licensed under the MIT License - see the LICENSE file for details.
- Luca Fabri (w-disaster)
- Simone Ceredi (sceredi)