- https://medium.com/@bhargavbachina
- @bhargavbachina
- channel/UCWLSuUulkLIQvbMHRUfKM-g
- https://www.amazon.com/Ultimate-Full-Stack-Development-MEVN-Production-Grade/dp/8197651175/ref=sr_1_1?dib=eyJ2IjoiMSJ9.NOkSGHiZ7Bvz5Y6sePEFqxaVeHjSnQFAnAr0HvWBEVE.FAER5zs6Xd9phpebupVlW5bBtauH-6W9Zfvr5bb0-k0&dib_tag=se&qid=1721579618&refinements=p_27%3ABhargav+Bachina&s=books&sr=1-1&text=Bhargav+Bachina
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "database": { | |
| "rules": "database.rules.json" | |
| }, | |
| "hosting": { | |
| "public": "dist/static-angular-firebase", | |
| "ignore": [ | |
| "firebase.json", | |
| "**/.*", | |
| "**/node_modules/**" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "projects": { | |
| "default": "fir-hosting-ui" | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="container"> | |
| <div class="jumbotron"> | |
| <h1>Bhargav Bachina</h1> | |
| <p>I am Software Architect working on various technologies and trying to solve problems.</p> | |
| </div> | |
| <accordion [isAnimated]="true"> | |
| <accordion-group heading="Profile Information"> | |
| <div class="row"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "topic": "/subscriptions/324234234-234234234234/resourceGroups/Storage/providers/Microsoft.Storage/storageAccounts/xstoretestaccount", | |
| "subject": "/blobServices/default/containers/oc2d2817345i200097container/blobs/oc2d2817345i20002296blob", | |
| "eventType": "Microsoft.Storage.BlobCreated", | |
| "eventTime": "2017-06-26T18:41:00.9584103Z", | |
| "id": "831e1650-001e-001b-66ab-eeb76e069631", | |
| "data": { | |
| "api": "PutBlockList", | |
| "clientRequestId": "6d79dbfb-0e37-4fc4-981f-442c9ca65760", | |
| "requestId": "831e1650-001e-001b-66ab-eeb76e000000", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "IsEncrypted": false, | |
| "Values": { | |
| "AzureWebJobsStorage": "DefaultEndpointsProtocol=https;AccountName=aautipdf;AccountKey=mhoYa5WaLU9JQNyRxgxC5DGoeuEYhy23Zwz0VOIGdMfvw+CrK1PbGzA1fvseQGuW9YkYGVZ+qEIo+AStwHjCFg==;EndpointSuffix=core.windows.net", | |
| "FUNCTIONS_WORKER_RUNTIME": "node", | |
| "COSMOSDB_HOST": "trigger-mongodb.mongo.cosmos.azure.com", | |
| "COSMOSDB_PORT": "10255", | |
| "COSMOSDB_DBNAME": "Ptrigger-mongodb", | |
| "COSMOSDB_USER": "trigger-mongodb", | |
| "COSMOSDB_PASSWORD": "", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "topic": "/subscriptions/324234234-234234234234/resourceGroups/Storage/providers/Microsoft.Storage/storageAccounts/xstoretestaccount", | |
| "subject": "/blobServices/default/containers/oc2d2817345i200097container/blobs/oc2d2817345i20002296blob", | |
| "eventType": "Microsoft.Storage.BlobCreated", | |
| "eventTime": "2017-06-26T18:41:00.9584103Z", | |
| "id": "831e1650-001e-001b-66ab-eeb76e069631", | |
| "data": { | |
| "api": "PutBlockList", | |
| "clientRequestId": "6d79dbfb-0e37-4fc4-981f-442c9ca65760", | |
| "requestId": "831e1650-001e-001b-66ab-eeb76e000000", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { AzureFunction, Context } from "@azure/functions" | |
| import { CSVReaderController } from '../src/controller'; | |
| const eventGridTrigger: AzureFunction = async function (context: Context, eventGridEvent: any): Promise<void> { | |
| context.log(typeof eventGridEvent); | |
| context.log(eventGridEvent); | |
| const csvReaderController = new CSVReaderController(); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "bindings": [ | |
| { | |
| "type": "eventGridTrigger", | |
| "name": "eventGridEvent", | |
| "direction": "in", | |
| "path": "sample-csv" | |
| } | |
| ], | |
| "scriptFile": "../dist/trg-csv-reader/index.js" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const { BlobServiceClient } = require("@azure/storage-blob"); | |
| export class StorageService { | |
| constructor() {} | |
| public async downloadContent(containerName: string, blobName: string): Promise<any> { | |
| let content = ""; | |
| try { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { SampleContentRepository } from '../repository'; | |
| import { ContentResponse } from '../response'; | |
| import { StorageService } from './storage.service' | |
| const CSVToJSON = require('csvtojson') | |
| export class CSVReaderService { | |
| sampleContentRepository: SampleContentRepository; | |
| storageService: StorageService |