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:covICAR 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.
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.
-
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
-
Copy
.env.exampleto.envand update the values:
cp .env.example .envThen 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
- Restart the server: npm run start