Skip to content

tekdi/content-provider-service

Repository files navigation

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.

NPM Version Package License NPM Downloads CircleCI Coverage Discord Backers on Open Collective Sponsors on Open Collective Support us

Description

Nest framework TypeScript starter repository.

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

About

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.

  1. Git clone https://github.com/tekdi/icar-provider-service.git

  2. cd icar-provider-service

  3. npm install

  4. npm run start

  5. run http://localhost:3000 on your browser to test the app is running

  6. 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
    
  7. Restart the server: npm run start

Import the postman collection to test the api:

link: https://www.postman.com/grey-escape-31127/workspace/icar-reference-app/collection/18319029-1a41994e-a329-4c15-b965-1ee478a6e71f?action=share&creator=18319029

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages