Simple Bank is a project created as part of a Udemy course to demonstrate building a backend application using Golang, PostgreSQL, and Kubernetes.
This project is a simple bank application that provides functionalities for:
- Creating and managing accounts [[CRUD]]
- Performing [[DB Transaction]]
- Managing balances
Also you can read additional notes, make by obsidian: [[Simple Bank]] in notes directory.
- Golang: Backend programming language
- PostgreSQL: Database management system
- Kubernetes: Container orchestration
To get started with this project, you'll need to have Docker installed on your machine. Follow these steps:
-
Clone the repository:
git clone https://github.com/aspandyar/simple-bank.git cd simple-bank
-
Start PostgreSQL container:
make postgres
-
Create the database:
make createdb
-
Run database migrations:
make migrateup
-
Generate SQLC code:
make sqlc
-
Run the application:
go run main.go
simple-bank/
├── db/
│ ├── migration/ # Database migration files
│ ├── sqlc.yaml # SQLC configuration
│ └── queries.sql # SQL queries
├── main.go # Main application entry point
├── Makefile # Makefile for various tasks
└── README.md # Project documentation
This project is part of the Udemy course Backend Master Class (Golang, PostgreSQL, Kubernetes) by Tech School.
Contributions are welcome! Please feel free to submit a Pull Request.
For any questions, please reach out to the course instructor via the Udemy course page or create an issue in this repository.