Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ashurai/service-client-example
A mocked account service used to develop client , use it as a plugin
https://github.com/ashurai/service-client-example
Last synced: about 2 months ago
JSON representation
A mocked account service used to develop client , use it as a plugin
- Host: GitHub
- URL: https://github.com/ashurai/service-client-example
- Owner: ashurai
- Created: 2021-08-08T06:16:05.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-08-10T08:23:33.000Z (over 3 years ago)
- Last Synced: 2023-08-01T20:11:30.142Z (over 1 year ago)
- Language: Go
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Form3 Client application
Init Example:
```
NewClientService := LoadAccountsService(nil)
```## Instructions
Run whole application command
```
docker-compose up
```Sample result of Intigration test
```
client_app_1 | Hit:1 http://deb.debian.org/debian buster InRelease
client_app_1 | Hit:2 http://security.debian.org/debian-security buster/updates InRelease
client_app_1 | Hit:3 http://deb.debian.org/debian buster-updates InRelease
client_app_1 | Reading package lists...
client_app_1 | Reading package lists...
client_app_1 | Building dependency tree...
client_app_1 | Reading state information...
client_app_1 | make is already the newest version (4.2.1-1.2).
client_app_1 | 0 upgraded, 0 newly installed, 0 to remove and 29 not upgraded.
client_app_1 | ======================= intigration-test =======================
client_app_1 | === RUN TestCreateAccountService
client_app_1 | --- PASS: TestCreateAccountService (0.06s)
client_app_1 | === RUN TestGetAccountByID
client_app_1 | --- PASS: TestGetAccountByID (0.01s)
client_app_1 | === RUN TestDeleteByID
client_app_1 | --- PASS: TestDeleteByID (0.01s)
client_app_1 | PASS
client_app_1 | ok github.com/ashurai/form3 (cached)
```While running successfully your application can also test your client intigration-test by using
```
make intigration-test
```