MedMe EHR Typescript SDK
Build
npm install -g typescript
npm i
make build
Running tests
- Previously install user with publicId=
user999
and internalId=1 into table UserIDMap of embedded.db database. Copy your UserSign totests/user999_ehr_user_sign.txt
without whitespaces and other symbols. You should to provide only one record with internalID=1 in this table.
You may also do initialize embedded.db using next command (path to embedded.db can be changed):
tests/init_embedded.sh ../cs/MedMe/EHR/RPCServer/embedded.db
-
Start MedMe.EHRServer using
make run
from folder of the package sources or other way. -
Start mock Auth Server using
make auth_server_run
from root directory of Typescript SDK sources. -
Run tests
make test
.