https://github.com/kotharimansi/simple-bank
RESTful banking API built with Go, PostgreSQL, and Docker. Follows clean architecture with SQLC for query generation and CI via GitHub Actions.
https://github.com/kotharimansi/simple-bank
api-development backend banking-system clean-architecture docker gin gitub-actions go golang golang-migrate learning-by-doing learning-project postgresql rest-api sqlc
Last synced: 3 months ago
JSON representation
RESTful banking API built with Go, PostgreSQL, and Docker. Follows clean architecture with SQLC for query generation and CI via GitHub Actions.
- Host: GitHub
- URL: https://github.com/kotharimansi/simple-bank
- Owner: KothariMansi
- Created: 2025-04-24T12:07:18.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-07-14T03:25:46.000Z (3 months ago)
- Last Synced: 2025-07-14T06:04:48.926Z (3 months ago)
- Topics: api-development, backend, banking-system, clean-architecture, docker, gin, gitub-actions, go, golang, golang-migrate, learning-by-doing, learning-project, postgresql, rest-api, sqlc
- Language: Go
- Homepage:
- Size: 1.07 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🏦 SimpleBank API
A backend banking service built with **Go**, designed using **clean architecture principles**, and powered by **PostgreSQL**. This project focuses on modular design, efficient database interaction via **SQLC**, and maintainable code practices.
This is a part of my backend development learning journey — focusing on API design, database integration, and production-grade tooling like Docker and GitHub Actions.
---
## 🔧 Tech Stack
- **Language**: Go (Golang)
- **Database**: PostgreSQL
- **Framework**: Gin (for HTTP server)
- **SQL Generator**: SQLC
- **Migrations**: Golang Migrate
- **Containerization**: Docker
- **CI/CD**: GitHub Actions---
## 🚀 Features (as of now)
- Create and manage bank accounts
- Transfer money between accounts
- SQLC-powered type-safe database access
- Database migrations using `golang-migrate`
- Docker support for containerized dev
- CI pipeline using GitHub Actions---
## 🛠️ Setup Instructions
```bash
# Clone the repository
git clone https://github.com/KothariMansi/Simple-bank.git
cd Simple-bank# Set environment variables
cp app.env.example app.env# Start PostgreSQL in Docker
make postgres# Create and migrate database
make createdb
make migrateup# Run the server
make server