NIKI - EBHOME NGO Core Service.
Go to file
mzfarshad 3d5e4e473b implemented service layer 2026-04-10 18:52:30 +03:30
adapter fix(niki): internal, validator and structure refactor 2024-08-03 14:37:16 +03:30
agentapp add structure of agentapp to niki project 2026-03-22 01:58:57 -04:00
authapp add-auth-domain (#221) 2026-03-25 00:07:07 +03:30
benefactorapp add structure of benefactorapp to niki project 2026-03-20 14:38:06 +03:30
cmd Merge branch 'develop' into feature/order 2026-04-08 06:25:13 +00:00
config feat(order): add create order 2026-04-04 11:34:30 +03:30
contract/sms fix(niki): internal, validator and structure refactor 2024-08-03 14:37:16 +03:30
delivery/http_server add echo web framework to patientapp domain 2026-04-07 17:24:07 +03:30
deploy add-auth-domain (#221) 2026-03-25 00:07:07 +03:30
docs feat(admin): add admin my profile route(#217) 2024-12-03 18:53:21 +03:30
domain/notification feat/notification - restructure Notification app with new structure 2026-04-04 04:51:28 +03:30
donate_app feat:create service logic for campaign creation 2026-04-08 02:14:50 -07:00
entity feat(admin): generate and store fake data(#215) 2024-12-01 11:41:02 +03:30
kindbox-app feat: add service dir to kind box structure 2026-03-22 01:41:45 +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 grpc repo 2026-04-07 17:24:07 +03:30
paymentapp issue232-add-payment-domain 2026-03-16 15:22:43 +03:30
pkg add echo web framework to patientapp domain 2026-04-07 17:24:07 +03:30
productapp feat: add product entity and migrations 2026-04-08 01:02:42 +03:30
purchaseapp refactor(order): improve handler 2026-04-05 13:06:42 +03:30
repository feat(order): add create order 2026-04-04 11:34:30 +03:30
salesreportapp add structure of salesreport to niki porject 2026-03-25 15:26:26 +03:30
service feat(admin): add admin my profile route(#217) 2024-12-03 18:53:21 +03:30
shoppingbasketapp implemented service layer 2026-04-10 18:52:30 +03:30
staffapp staff crud added 2026-04-07 11:26:32 -07:00
types feat(order): add create order 2026-04-04 11:34:30 +03:30
validator fix(admin): fix query total and refactor query search 2024-11-20 11:26:59 +03:30
vendor Merge branch 'develop' into feature-patient-analytic 2026-04-08 06:21:32 +00:00
.env.example feat(niki): add swagger not completed 2024-05-14 16:37:09 +03:30
.gitignore donate init 2026-03-25 18:59:12 -07:00
.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 usecase added 2026-03-31 21:35:30 -07:00
go.sum usecase added 2026-03-31 21:35:30 -07:00
main.go add echo web framework to patientapp domain 2026-04-07 17:24:07 +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