A progressive Node.js framework for building efficient and scalable server-side applications.
Nest framework TypeScript starter repository.
$ npm install
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
ICAR Reference App
Icar provider service is reference app for adding contents related to vistaar network. Provider can register themselves and add their contents to this app. Provider can create/read/update/delete their contents.
Steps to install this app.
-
Git clone https://github.com/tekdi/icar-provider-service.git
-
cd icar-provider-service
-
npm install
-
npm run start
-
run http://localhost:3000 on your browser to test the app is running
-
Add .env file in this format
HASURA_URL= https://onest-bap.tekdinext.com/hasura/v1/graphql HASURA_GRAPHQL_ADMIN_SECRET= "******" HASURA_NAMESPACE= icar_ PORT=3000 S3_REGION=ap-south-1 S3_BUCKET=onest-bucket SECRET_ACCESS_KEY=****** ACCESS_KEY_ID=****** EXPIRES_IN=3600
-
Restart the server: npm run start
Import the postman collection to test the api: