jarvis

module
v0.0.0-...-3014034 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 26, 2024 License: Apache-2.0

README

jarvis

Taiwan Stock Analysis and Buy Selection Core System.

Setup project

./bin/setup.sh

Setup Docker Environment

docker-compose -f build/docker/postgresql/docker-compose.yml up
docker-compose -f build/docker/redis/docker-compose.yml up
docker-compose -f build/docker/kafka/docker-compose.yml up
Execute SQL Migration
make db-pg-init-main
make db-pg-migrate

Start Application

$ docker-compose -p jarvis -f build/docker/app/docker-compose.yml up
Generate Protobuf

This project is using protobuf with grpc-gatway to have both grpc & http served. https://github.com/grpc-ecosystem/grpc-gateway

make proto

Directories

Path Synopsis
cmd
api
internal
app/pb/gateway
Package pb is a reverse proxy.
Package pb is a reverse proxy.
app/services/mocks
Package services is a generated GoMock package.
Package services is a generated GoMock package.
cache/mocks
Package cache is a generated GoMock package.
Package cache is a generated GoMock package.
cronjob/mocks
Package cronjob is a generated GoMock package.
Package cronjob is a generated GoMock package.
kafka/mocks
Package kafka is a generated GoMock package.
Package kafka is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL