Skip to content

Commit

Permalink
deployed web app in firebase
Browse files Browse the repository at this point in the history
  • Loading branch information
AsithaIndrajith committed Dec 24, 2019
1 parent 3f465d4 commit b2a25d5
Show file tree
Hide file tree
Showing 7 changed files with 81 additions and 5 deletions.
19 changes: 19 additions & 0 deletions WebApp/.firebase/hosting.YnVpbGQ.cache
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
404.html,1577209551198,b7bab6b83fa074653ff28c8d2a64135d3434575f70a12ab3d3ba8080461b9537
asset-manifest.json,1577209563394,e6f1fda425edaae199a49c452f4e24ca5b5a3bafa036d63b37a492ed0325ea1d
index.html,1577209563394,d0ff7544d9a79d130f80c8b48d968249a69832d30884d873993fcbc4f62909ba
logo192.png,1577209551202,37e236643347a0290df0640aaf85e68abddb886b302ff4206cf63b1dd6c6ce5b
manifest.json,1577209551202,0958a5e0c831126100c8c2d06a6bbaa665a3900f21aaff4130238a6f5a113aa1
precache-manifest.3e9e104c60868fbb0b4ed79c2f2f1684.js,1577209563394,2ca375591ca8eb25dc3295b6853d473325830ab2d6151db9e9e6c8e6a1b7510a
robots.txt,1577209551202,9486af852ce71d8ddbb9bc5bd6f7a3e45740f8c66ee724d1ae2bcc4dd7d3ded0
service-worker.js,1577209563394,0e1e33b5ee308cf3be72989224a76a86e62fd4ae9124105e8db33f57683b0d57
static/css/main.e04f0280.chunk.css,1577209563394,d4795b5bd7f292deab769e8032e0b7af6a49bfed37d09ebeacae5d8d95c99e39
static/css/main.e04f0280.chunk.css.map,1577209563426,c0e152e9cb86efe86e25998a7df4feb02f307e96c89baf977e1d3067cfa10f92
favicon.ico,1577209551198,c526bda688b624a048253ca9a5757dd9aeb5e497239cca62677b5fcf83eed0cc
logo2.png,1577209551202,7211513a6a6f3e7c2b89622811878d66412decc591e28d4aaad46f8f2d4fb455
static/js/runtime-main.86cbde90.js,1577209563426,f5187039316a4209416673d76f3b31d155172572da613fe4058b93c691d60042
static/js/runtime-main.86cbde90.js.map,1577209563426,8f1afa6bbc6b75618dac12fc39be468d1aec8de313712e910d95eec1690feda7
logo512.png,1577209551202,d320f619fd645d0d3bf611150b99bedaec8395f3b0e1b6ddfad7566a4d11536d
static/js/main.69e1a24e.chunk.js,1577209563394,c50e014e302c04df14738cc2c299bbe6798c487ab40aa7371945a194256d636f
static/js/main.69e1a24e.chunk.js.map,1577209563426,d270d1605e70771534b6da9f525cdfd25bbe9025944ff8362fe5a989171487d0
static/js/2.2f0460b2.chunk.js,1577209563426,dc27b88741ca54624377fddff755e5ca42651c1a485dc6af51eaa3f7048602dd
static/js/2.2f0460b2.chunk.js.map,1577209563426,2af8c9beb90f00ce304d8674e0609c02c50277ea593ec8e57268c957158ed9f5
8 changes: 8 additions & 0 deletions WebApp/.firebase/hosting.cHVibGlj.cache
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
favicon.ico,1575439589588,c526bda688b624a048253ca9a5757dd9aeb5e497239cca62677b5fcf83eed0cc
logo192.png,1575439589588,37e236643347a0290df0640aaf85e68abddb886b302ff4206cf63b1dd6c6ce5b
logo2.png,1576438718697,7211513a6a6f3e7c2b89622811878d66412decc591e28d4aaad46f8f2d4fb455
logo512.png,1575439589588,d320f619fd645d0d3bf611150b99bedaec8395f3b0e1b6ddfad7566a4d11536d
manifest.json,1575439589596,0958a5e0c831126100c8c2d06a6bbaa665a3900f21aaff4130238a6f5a113aa1
robots.txt,1575439589596,9486af852ce71d8ddbb9bc5bd6f7a3e45740f8c66ee724d1ae2bcc4dd7d3ded0
404.html,1577197816626,b7bab6b83fa074653ff28c8d2a64135d3434575f70a12ab3d3ba8080461b9537
index.html,1577197772551,95c59f90b7a2e8d41c30330a86f1329c4f03ea1cbe241aba80dcf20eec0114f7
5 changes: 5 additions & 0 deletions WebApp/.firebaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"projects": {
"default": "elly-fe124"
}
}
14 changes: 14 additions & 0 deletions WebApp/firebase.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"hosting": {
"public": "build",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [ {
"source": "**",
"destination": "/index.html"
} ]
}
}
33 changes: 33 additions & 0 deletions WebApp/public/404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Page Not Found</title>

<style media="screen">
body { background: #ECEFF1; color: rgba(0,0,0,0.87); font-family: Roboto, Helvetica, Arial, sans-serif; margin: 0; padding: 0; }
#message { background: white; max-width: 360px; margin: 100px auto 16px; padding: 32px 24px 16px; border-radius: 3px; }
#message h3 { color: #888; font-weight: normal; font-size: 16px; margin: 16px 0 12px; }
#message h2 { color: #ffa100; font-weight: bold; font-size: 16px; margin: 0 0 8px; }
#message h1 { font-size: 22px; font-weight: 300; color: rgba(0,0,0,0.6); margin: 0 0 16px;}
#message p { line-height: 140%; margin: 16px 0 24px; font-size: 14px; }
#message a { display: block; text-align: center; background: #039be5; text-transform: uppercase; text-decoration: none; color: white; padding: 16px; border-radius: 4px; }
#message, #message a { box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24); }
#load { color: rgba(0,0,0,0.4); text-align: center; font-size: 13px; }
@media (max-width: 600px) {
body, #message { margin-top: 0; background: white; box-shadow: none; }
body { border-top: 16px solid #ffa100; }
}
</style>
</head>
<body>
<div id="message">
<h2>404</h2>
<h1>Page Not Found</h1>
<p>The specified file was not found on this website. Please check the URL for mistakes and try again.</p>
<h3>Why am I seeing this?</h3>
<p>This page was generated by the Firebase Command-Line Interface. To modify it, edit the <code>404.html</code> file in your project's configured <code>public</code> directory.</p>
</div>
</body>
</html>
5 changes: 1 addition & 4 deletions WebApp/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build.
Only files inside the `public` folder can be referenced from the HTML.
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
Expand All @@ -33,12 +32,10 @@
<!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.
You can add webfonts, meta tags, or analytics to this file.
The build step will place the bundled scripts into the <body> tag.
To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
-->
</body>
</html>
</html>
2 changes: 1 addition & 1 deletion WebApp/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default class App extends React.Component {
<Switch>
<Route exact path="/" component={LoginPage} />
<Route path="/home" component={Home} />
<Route path="*" component={NotFoundPage} />
<Route exact path="*" component={NotFoundPage} />
</Switch>
</BrowserRouter>
);
Expand Down

0 comments on commit b2a25d5

Please sign in to comment.