Skip to content

This project is part of the Udemy course Backend Master Class (Golang, PostgreSQL, Kubernetes) by Tech School.

Notifications You must be signed in to change notification settings

aspandyar/simple-bank

Repository files navigation

Simple Bank

Simple Bank is a project created as part of a Udemy course to demonstrate building a backend application using Golang, PostgreSQL, and Kubernetes.

Project Overview

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.

Technologies Used

  • Golang: Backend programming language
  • PostgreSQL: Database management system
  • Kubernetes: Container orchestration

Getting Started

To get started with this project, you'll need to have Docker installed on your machine. Follow these steps:

  1. Clone the repository:

    git clone https://github.com/aspandyar/simple-bank.git
    cd simple-bank
  2. Start PostgreSQL container:

    make postgres
  3. Create the database:

    make createdb
  4. Run database migrations:

    make migrateup
  5. Generate SQLC code:

    make sqlc
  6. Run the application:

    go run main.go

Project Structure

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

Course Information

This project is part of the Udemy course Backend Master Class (Golang, PostgreSQL, Kubernetes) by Tech School.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Contact

For any questions, please reach out to the course instructor via the Udemy course page or create an issue in this repository.

About

This project is part of the Udemy course Backend Master Class (Golang, PostgreSQL, Kubernetes) by Tech School.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published