This file contains 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
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
creationTimestamp: null | |
labels: | |
app: webapp | |
name: webapp | |
spec: | |
replicas: 5 | |
selector: |
This file contains 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 path = require('path'); | |
const webpack = require('webpack'); | |
const environment = process.env.ENVIRONMENT; | |
console.log('environment:::::', environment); | |
let ENVIRONMENT_VARIABLES = { | |
'process.env.HOST': JSON.stringify('130.211.121.102'), |
This file contains 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
AWSTemplateFormatVersion: "2010-09-09" | |
Description: App Runner Template for WebApp | |
Parameters: | |
WebAppPort: | |
Type: Number | |
Description: The Port that NodeJS API listening on | |
Default: 80 | |
AllowedValues: | |
- 80 |
This file contains 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
AWSTemplateFormatVersion: "2010-09-09" | |
Description: ECR Repository For the Docker Image | |
Resources: | |
ECRRepo: | |
Type: AWS::ECR::Repository | |
Properties: | |
EncryptionConfiguration: | |
EncryptionType: AES256 | |
ImageScanningConfiguration: |
This file contains 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
{ | |
"hosting": { | |
"public": "dist", | |
"ignore": [ | |
"firebase.json", | |
"**/.*", | |
"**/node_modules/**" | |
], | |
"rewrites": [ | |
{ |
This file contains 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
<template> | |
<div> | |
<b-jumbotron> | |
<div class="row"> | |
<div class="col-md-6"> | |
Name: | |
</div> | |
<div class="col-md-6"> | |
First Last | |
</div> |
This file contains 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
<template> | |
<div id="app"> | |
<Header /> | |
<Dashboard /> | |
</div> | |
</template> | |
<script> | |
import 'bootstrap/dist/css/bootstrap.css' | |
import 'bootstrap-vue/dist/bootstrap-vue.css' |
This file contains 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
{ | |
"hosting": { | |
"public": "build", | |
"ignore": [ | |
"firebase.json", | |
"**/.*", | |
"**/node_modules/**" | |
], | |
"rewrites": [ | |
{ |
This file contains 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 React from 'react' | |
import Jumbotron from 'react-bootstrap/Jumbotron'; | |
const Header = () => { | |
return( | |
<Jumbotron> | |
<h1>Bhargav Bachina</h1> | |
<p>I am Software Architect working on various technologies and trying to solve problems.</p> | |
</Jumbotron> |
This file contains 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 * as React from 'react' | |
import Accordion from 'react-bootstrap/Accordion'; | |
import Card from 'react-bootstrap/Card'; | |
import Button from 'react-bootstrap/Button'; | |
import Jumbotron from 'react-bootstrap/Jumbotron' | |
const Dashboard = () => { | |
return ( | |
<> |