Skip to content

OpenAgriNet/barath-vistaar-provider-backend

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.

API Integrations

This service includes the following API integrations:

  • PM Kisan Installment Check - Check PM Kisan installment status and beneficiary details
  • Scheme Information - Retrieve information about various agricultural schemes
  • PMFBY Status Check - Check Pradhan Mantri Fasal Bima Yojana (PMFBY) policy and claim status
  • Weather Forecast - Get weather forecast data from IMD (Indian Meteorological Department) based on GPS coordinates
  • Grievance - Handle and process grievance-related requests

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. Copy .env.example to .env and update the values:

cp .env.example .env

Then edit .env file with your actual configuration values. See .env.example for all required environment variables including:

  • Hasura Configuration
  • AWS S3 Configuration
  • Database Configuration (for Weather Forecast)
  • API Keys and Tokens
  • Email Service Configuration
  1. Restart the server: npm run start

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages