Skip to content

chula-overflow/chula-overflow-backend

Repository files navigation

Install Dependency

nx run-many --target=install

Run

Please check Prerequisite before runing

nx run-many --target=serve

Docker lazy script

git clone --sparse https://github.com/chula-overflow/chula-overflow-backend
cd chula-overflow-backend
cp .env.example .env
docker-compose --env-file .env up -d

TODO

  • code linter / format
    • prettier / editorconfig
  • Automated test

prerequisite

Protoc-gen-go-grpc

go install google.golang.org/protobuf/cmd/[email protected]
go install google.golang.org/grpc/cmd/[email protected]

Nx cli

npm i -g nx

Docker

Docker compose

docker compose --env-file .env up

Building image

Since each service depends on apps/proto directory, images need to be build from project root

docker build <service>:<tag> -f apps/<service>/Dockerfile .

Note

Please don't mind that auth take like 5 minutes compile time.

Env

.env is supposed to use for containerization purpose. It will not automatically load into any service. please load it yourself.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published