NIKI - EBHOME NGO Core Service.
Go to file
mahsaaghagolzadeh 447e62c693 mahsaaghagolzadeh/Issue#289 2026-04-20 23:26:15 +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 fix-pkgs 2026-04-04 08:33:59 -07:00
cmd Merge branch 'develop' into mahsaaghagolzadeh/issue252-create-Payment 2026-04-19 05:01:01 +03:30
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 Merge branch 'develop' into mahsaaghagolzadeh/issue252-create-Payment 2026-04-19 05:01:01 +03:30
docs feat(admin): add admin my profile route(#217) 2024-12-03 18:53:21 +03:30
domain mahsaaghagolzadeh/Issue#289 2026-04-20 23:26:15 +03:30
donate_app delivery & handler 2026-04-21 00:04:58 -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 added cmd and deploy layer 2026-04-14 16:29:03 +03:30
param feat(admin): add admin my profile route(#217) 2024-12-03 18:53:21 +03:30
patientapp Implement repository and docker-compose 2026-04-14 18:53:15 +03:30
paymentapp mahsaaghagolzadeh/Issue#289 2026-04-20 23:26:15 +03:30
pkg mahsaaghagolzadeh/Issue#289 2026-04-20 23:26:15 +03:30
productapp feat: add product entity and migrations 2026-04-08 01:02:42 +03:30
purchaseapp fix: fix import package bug 2026-04-17 20:46:02 +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 bugfix imports path 2026-04-17 20:53:50 +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 mahsaaghagolzadeh/Issue#289 2026-04-20 23:26:15 +03:30
.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 mahsaaghagolzadeh/Issue#289 2026-04-20 23:26:15 +03:30
go.sum mahsaaghagolzadeh/Issue#289 2026-04-20 23:26:15 +03:30
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