NIKI - EBHOME NGO Core Service.
Go to file
hossein 850bb3f3e0 Merge pull request 'mehdikeshavarz/feat/accountDomain And driverDomain #285 #261' (#298) from mehdikeshavarz/driver(agent)/loginorregister into develop
Reviewed-on: ebhomengo/niki#298
2026-04-29 18:15:51 +00:00
.air feat: add air for watch project changes 2026-04-28 00:38:31 +03:30
accountapp create account_app and move delivery layer to account_app 2026-04-29 19:58:57 -04:00
adapter create account domain and impl loginorRegister for driver . 2026-04-28 18:09:44 -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' of https://git.gocasts.ir/ebhomengo/niki into mehdikeshavarz/driver(agent)/loginorregister 2026-04-29 09:24:30 -04:00
config feat(order): add create order 2026-04-04 11:34:30 +03:30
contract create account domain and impl loginorRegister for driver . 2026-04-28 18:09:44 -04:00
delivery/http_server Merge branch 'develop' into mehdikeshavarz/driver(agent)/loginorregister 2026-04-19 18:55:37 -04:00
deploy Merge branch 'develop' of https://git.gocasts.ir/ebhomengo/niki into mehdikeshavarz/driver(agent)/loginorregister 2026-04-29 09:24:30 -04:00
docs feat(admin): add admin my profile route(#217) 2024-12-03 18:53:21 +03:30
domain create account_app and move delivery layer to account_app 2026-04-29 19:58:57 -04:00
donate_app delivery & handler 2026-04-21 00:04:58 -07:00
driverapp create account_app and move delivery layer to account_app 2026-04-29 19:58:57 -04:00
entity feat(admin): generate and store fake data(#215) 2024-12-01 11:41:02 +03:30
gamificationapp feat(gamification): add gamification domain structure 2026-04-24 14:36:10 +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 Merge branch 'develop' of https://git.gocasts.ir/ebhomengo/niki into mehdikeshavarz/driver(agent)/loginorregister 2026-04-29 09:24:30 -04:00
productapp feat: add product list api 2026-04-29 01:54:15 +03:30
purchaseapp fix: fix import package bug 2026-04-17 20:46:02 +03:30
repository Merge branch 'develop' into mehdikeshavarz/driver(agent)/loginorregister 2026-04-19 18:55:37 -04:00
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 create account domain and impl loginorRegister for driver . 2026-04-28 18:09:44 -04:00
walletapp init wallet service & postgres adapter 2026-04-28 21:07:05 +03:30
.env.example feat(niki): add swagger not completed 2024-05-14 16:37:09 +03:30
.gitignore feat: ignore cmd temp built files 2026-04-28 00:40:37 +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 feat(driver)impl logic send_otp and loginOrRegister 2026-04-14 19:35:45 -04:00
Makefile feat: add air for watch project changes 2026-04-28 00:38:31 +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 Merge branch 'develop' of https://git.gocasts.ir/ebhomengo/niki into mehdikeshavarz/driver(agent)/loginorregister 2026-04-29 09:24:30 -04:00
go.sum create account domain and impl loginorRegister for driver . 2026-04-28 18:09:44 -04:00
main.go some change 2026-04-19 18:55:31 -04:00

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