-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Mango Habanero
committed
Nov 8, 2022
1 parent
f8b773e
commit 2d0f180
Showing
49 changed files
with
22,375 additions
and
142 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Environment variables declared in this file are automatically made available to Prisma. | ||
# See the documentation for more detail: https://pris.ly/d/prisma-schema#accessing-environment-variables-from-the-schema | ||
|
||
# Prisma supports the native connection string format for PostgreSQL, MySQL, SQLite, SQL Server, MongoDB and CockroachDB. | ||
# See the documentation for all the connection string options: https://pris.ly/d/connection-strings | ||
|
||
DATABASE_URL="postgresql://postgres:password@localhost:5432/cic_ussd_2?schema=public" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"baseLocale": "sw", | ||
"adapter": "node", | ||
"generateOnlyTypes": true, | ||
"outputPath": "./src/i18n", | ||
"$schema": "https://unpkg.com/[email protected]/schema/typesafe-i18n.json" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"cSpell.words": [ | ||
"Ussd" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# cic-ussd | ||
|
||
A ussd client implementation that interfaces the community inclusion currencies custodial system. | ||
A ussd client implementation that interfaces with the community inclusion currencies custodial system. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
Testing with: https://reqbin.com/ | ||
|
||
[xxx-form-urlencoded] | ||
sessionId=ATjdn5f78gkgojff9fkeknrr_8786JDnfflflm | ||
phoneNumber=+254706533739 | ||
networkCode=Safaricom | ||
serviceCode="*384*96#" | ||
text=Sample | ||
|
||
[json] | ||
{ | ||
"ussd_code": "058", | ||
"msg_type": "0", | ||
"ussd_response": "Sample", | ||
"msisdn": "677777777", | ||
"operator": "MTN" | ||
} | ||
|
||
[env] | ||
export NODE_ENV=default LOG_LEVEL=debug |
Oops, something went wrong.