Skip to content

presubmit/ebank-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eBank backend 🚀

Go backend that powers eBank.

Dependencies

  • go - primary language
  • docker - used to run containerized services

How to run?

  • yarn db

    • Runs a PostgresDB (see config in .env)
    • Runs yarn db:migrate up to apply outstanding migrations
  • yarn watch

    • Runs all services on ports :80 (http) and :8079 (grpc)
    • Runs a Traefik proxy that redirects requests to the appropiate service
    • Runs yarn proto on every proto change
  • yarn proto - Generate protocol buffers

  • yarn db:migrate up [N] - Apply all or N up migrations

  • yarn db:migrate down [N] - Apply all or N down migrations

  • yarn db:migration NAME - Create a set of timestamped up/down migrations titled NAME in db/migrations.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published