A complete example of a service (Stellar Service) created using Golang.
Stellar-Scope has three main goals:
-
Getting APOD data: The service extracts metadata and a picture of the day from APOD on a daily basis. Then this data is securely stored in Minio, Postgresql.
-
HTTP API Server: HTTP API, allows you to access all album recordings and extract certain recordings for a selected day.
-
Docker Image: For ease of deployment and isolation, Stellar-Scope is encapsulated in a Docker image.
Follow these simple steps to run Stellar-Scope on your local computer:
-
Clone the repository: Start by cloning this repository to your local computer.
-
Start the Service: Run the following command
make up
to start the project. This command initializes Docker containers and creates a database if it does not already exist.
To stop the project, run the make down
command. This will stop Docker containers.
To view the service logs, run themake logs
command.
To view the status of Docker containers, run the make ps
command.