fabric-samples/asset-transfer-basic/rest-api-typescript
James Taylor 82b1249f4e Improve Docker support
- default command should be start, rather than start:dev in the docker image
- added a multistage build
- fixed node-gyp error
- removed dev dependencies
- added a start:dotenv script to support a .env file in production (may be useful for
k8s later)
- updated Readme and generateEnv script to simplify the setup
- updated external network in docker-compose.yaml to match the test network

Signed-off-by: James Taylor <jamest@uk.ibm.com>
2021-12-14 14:31:21 +00:00
..
scripts Improve Docker support 2021-12-14 14:31:21 +00:00
src Refactor health routes in to separate file 2021-12-14 14:31:21 +00:00
.dockerignore docker file for app 2021-12-14 14:31:17 +00:00
.env.sample Improve Docker support 2021-12-14 14:31:21 +00:00
.eslintrc.json Fix dist output 2021-12-14 14:31:15 +00:00
.gitignore Initial REST API skeleton 2021-12-14 14:14:56 +00:00
.prettierrc.json Initial REST API skeleton 2021-12-14 14:14:56 +00:00
demo.http Update api key header 2021-12-14 14:31:13 +00:00
docker-compose.yaml Improve Docker support 2021-12-14 14:31:21 +00:00
Dockerfile Improve Docker support 2021-12-14 14:31:21 +00:00
jest.config.ts Add config spec tests 2021-12-14 14:31:20 +00:00
package-lock.json Initial API tests 2021-12-14 14:31:21 +00:00
package.json Improve Docker support 2021-12-14 14:31:21 +00:00
README.md Initial REST API skeleton 2021-12-14 14:14:56 +00:00
tsconfig.json Fix dist output 2021-12-14 14:31:15 +00:00

Asset Transfer REST API Sample

Prototype sample REST server to demonstrate good Fabric Node SDK practices