2026-08-04 13:26:05 +05:00
2026-08-04 13:26:05 +05:00
2026-08-04 12:26:32 +05:00
2026-08-04 12:26:32 +05:00
2026-08-04 12:26:57 +05:00

Repository layout

Path Role
bankline/ Go HTTP API — Gin, PostgreSQL, Swagger; admin CMS endpoints and public client API
frontend/ Static public website — HTML, Tailwind CSS / DaisyUI, Swiper

Stack

Backend (bankline)

  • Go, Gin, JWT Bearer auth
  • PostgreSQL
  • MinIO (object storage)
  • Swagger / OpenAPI (swaggo)

Frontend (frontend)

  • Static HTML pages
  • Tailwind CSS 3 + DaisyUI
  • Swiper

Features

  • Admin API — authenticate and manage banners, news, categories, sub-categories, currency content, static pages, and settings
  • Client API — public read endpoints for the same content domains, consumed by the website
  • Multilingual fields — content stored and returned per language (TM / RU / EN)
  • API docs — Swagger UI when the backend is running

Quick start

Backend (bankline)

Requires Docker and Docker Compose.

cd bankline
docker compose up -d --build
  • API: http://localhost:5050
  • Base path: /v1
  • PostgreSQL: host port 5424

Database migrations (golang-migrate CLI):

make create-migration name='migration_name'
make migrate
make migrate-rollback

See bankline/README.md for more backend detail.

Frontend (frontend)

cd frontend
npm i
npx tailwindcss -i assets/css/app.css -o src/css/app.css --minify

Serve or deploy the contents of frontend/src as static files. Point the site at the running API for dynamic content (news, banners, settings, etc.).

See frontend/readme.md for the same build commands.

Description
No description provided
Readme 431 MiB
Languages
Go 44.8%
HTML 25.1%
JavaScript 23.9%
Python 3.3%
CSS 2%
Other 0.9%