NIKI - EBHOME NGO Core Service.
Go to file
hossein 302539360d Merge branch 'develop' into feature/ISSUE-224-product-app 2026-03-25 06:59:03 +00:00
adapter fix(niki): internal, validator and structure refactor 2024-08-03 14:37:16 +03:30
benefactorapp add structure of benefactorapp to niki project 2026-03-20 14:38:06 +03:30
config feat: add CORS middleware configuration with custom allowed origins(#154) 2024-09-08 13:34:06 +03:30
contract/sms fix(niki): internal, validator and structure refactor 2024-08-03 14:37:16 +03:30
delivery/http_server feat(admin): add admin my profile route(#217) 2024-12-03 18:53:21 +03:30
deploy add structure of benefactorapp to niki project 2026-03-20 14:38:06 +03:30
docs feat(admin): add admin my profile route(#217) 2024-12-03 18:53:21 +03:30
entity feat(admin): generate and store fake data(#215) 2024-12-01 11:41:02 +03:30
logger feat(niki): added rtx-linter-format 2023-12-20 19:09:25 +03:30
param feat(admin): add admin my profile route(#217) 2024-12-03 18:53:21 +03:30
patientapp Add patient domain structure 2026-03-21 20:24:41 +03:30
paymentapp issue232-add-payment-domain 2026-03-16 15:22:43 +03:30
pkg feat(admin): generate and store fake data(#215) 2024-12-01 11:41:02 +03:30
productapp feat: add product domain structure 2026-03-24 14:28:29 +03:30
purchaseapp feat: add purchase domain structure 2026-03-21 23:35:39 +03:30
repository bug fix in migration 1730029129_add_update_benefactor_access.sql 2026-03-20 13:40:20 +03:30
service feat(admin): add admin my profile route(#217) 2024-12-03 18:53:21 +03:30
validator fix(admin): fix query total and refactor query search 2024-11-20 11:26:59 +03:30
vendor update go version from 1.23 to 1.25.3 2026-03-20 13:38:26 +03:30
.env.example feat(niki): add swagger not completed 2024-05-14 16:37:09 +03:30
.gitignore update gitignore 2026-03-20 13:41:35 +03:30
.golangci.yml style(niki): apply code formatting and linting (#85) 2024-07-25 03:15:04 +03:30
.mise.toml feat(niki): add swagger not completed 2024-05-14 16:37:09 +03:30
.mockery.yaml feat(validator): implement unit test for admin login validator (#109) 2024-08-06 15:56:40 +03:30
Dockerfile refactor(niki): stage deployment docker setup (#130) 2024-08-30 01:40:54 +03:30
Makefile feat(niki): get benefactor info by admin (#174) 2024-10-25 12:23:04 +03:30
README.md update readme niki project 2026-03-20 13:51:12 +03:30
config.yml feat(admin): generate and store fake data(#215) 2024-12-01 11:41:02 +03:30
docker-compose.yaml bug fix in migration 1730029129_add_update_benefactor_access.sql 2026-03-20 13:40:20 +03:30
go.mod update go version from 1.23 to 1.25.3 2026-03-20 13:38:26 +03:30
go.sum update go version from 1.23 to 1.25.3 2026-03-20 13:38:26 +03:30
main.go feat(niki): setup and implement sample end2end test (#109) 2024-08-17 21:26:08 +03:30

README.md

Niki


Prerequisites

  • Go 1.25.4 (Ensure your Go version matches this requirement)
  • Docker 20.10+ (or higher)
  • Git

Installation

1. Configure Go Module Mirror

To accelerate dependency downloads, set the Go module mirror to Megan (Iranian Go mirror):

https://megan.ir/hub/go

2. Install Dependencies

go mod tidy
go mod vendor

3. Configure Environment

Copy the example environment file and customize it:

cp .env.example .env

Running the Application

1. Start Services

Launch the database and Redis services using Docker Compose:

docker compose up -d

🌐 Docker images are sourced from Arvan Cloud's Docker repositories. Ensure your environment has access to these repositories.

2. Apply Database Migrations

Initialize the database schema:

go run main.go --migrate

3. Start the Application

Run the application in development mode:

go run main.go

Alternative: Use the provided Makefile for streamlined execution: Makefile