Skip to content

Oversimplified banking system, built with Go, Sqlc [WIP]

Notifications You must be signed in to change notification settings

arcbjorn/arc_bank_system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arc bank system

Overview

There are 2 containers to run: api and postgres.

Development

# run api and postgres containers
make up

# run all migrations
make migrate_up

# regenerate ORM code (just in case)
make generate_orm

# shut down & delete api and postgres containers with volumes
make down

Testing

# run api and postgres containers
make up

# create test database
make create_db_test

# run all migrations in test database
make migrate_up_test

# regenerate ORM code (just in case)
make generate_orm

# run ORM tests
make test_orm

# run all tests
make test

# shut down & delete api and postgres containers with volumes
make down

Refer to Makefile for other commands.

About

Oversimplified banking system, built with Go, Sqlc [WIP]

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published