Skip to content

Commit ac77829

Browse files
committed
finally deployed my frontend and backend app in heroku and firebase successfully
1 parent 1b76cf8 commit ac77829

File tree

6 files changed

+59
-3
lines changed

6 files changed

+59
-3
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# This file was auto-generated by the Firebase CLI
2+
# https://github.com/firebase/firebase-tools
3+
4+
name: Deploy to Firebase Hosting on PR
5+
'on': pull_request
6+
jobs:
7+
build_and_preview:
8+
if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}'
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
- uses: FirebaseExtended/action-hosting-deploy@v0
13+
with:
14+
repoToken: '${{ secrets.GITHUB_TOKEN }}'
15+
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_MATES_APP_F9323 }}'
16+
projectId: mates-app-f9323

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Mates-App
22

3-
## (MERN Chat Application)
3+
## Project: MERN Chat Application
44
#### Project Can be found in here :
5-
**[Live version]()**
5+
**[Live version](https://mates-app-f9323.web.app/)**
66
<br>
77
**[Backend Live version](https://matesapp-backend-app.herokuapp.com/)**
88

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
asset-manifest.json,1625415900047,30c73f9eeb5c50b401c25df9f88a5b5c189c4ef455954bfded0fa8aab25a96f7
2+
favicon.ico,1625415782919,c599b7a91ab3627e3538125d9f40adc2d4bf949046984262670545dc7738af06
3+
index.html,1625415900047,1e9fc56b42ea5b8289fe34a8b9b86e13028d118ceff966c5eed52181c58f3d21
4+
logo192.png,1625415782923,76c449ccb9cd117c2f2338f091b18f7050f3210e249b2228f5c81b23f34377cd
5+
logo512.png,1625415782923,7779210d56c1f3741e2e487799fe3092def4fa6ac450a60532b807c3a8971205
6+
manifest.json,1625415782927,0958a5e0c831126100c8c2d06a6bbaa665a3900f21aaff4130238a6f5a113aa1
7+
robots.txt,1625415782927,2544ca049f223a42bff01f72ad930a5edba75bbb7199d0f8430a02ff5aca16ec
8+
static/css/main.6e8f36a6.chunk.css,1625415900051,359b5e23c0515f8d55b4c55d3b2e06b9e0dd5b9d291831ecfc7f5cc60dbf6d80
9+
static/css/main.6e8f36a6.chunk.css.map,1625415900091,d4868764e7b32f90fded99c9282ef416555d425573555ba6c6f695b504007dfc
10+
static/js/3.fa6e8e09.chunk.js,1625415900091,500ce9e7635242b6ba65536d9d74501beeaea5967d84d7ac0d9298a25c497433
11+
static/js/main.d194c500.chunk.js,1625415900051,e91039363c5ef82f15a2e3a6c5ca51f50d8c50559b13933728116f7664e0b3e8
12+
static/js/3.fa6e8e09.chunk.js.map,1625415900095,0403c3c7b5647aef2fa18582a03ea90aa27570cb80176145b5b07b19ac28c521
13+
static/js/runtime-main.153e24de.js,1625415900091,5360d3e0411cd912564a850d86b0a82766f8e645b844d2620122312deed7040f
14+
static/js/runtime-main.153e24de.js.map,1625415900091,a56d0dfec4f7b8e6e16a740993e9948743ee3d8807cb0fae42b507f841afb6d4
15+
static/js/2.1cbf5569.chunk.js.LICENSE.txt,1625415900091,e31cd937e5f12da35eecfdac9704ea91aa96d083708eb1e042be5d72d7e6aee8
16+
static/js/main.d194c500.chunk.js.map,1625415900091,debdedae0e59b3c9fdef513b87641f4cc8655862e0a2a748f313d179c0baeb4a
17+
static/js/2.1cbf5569.chunk.js,1625415900091,36e5abf390f9cb864e5bd5d8a9ace8c709c55b9a40834bbee103ebdf80a53585
18+
static/js/2.1cbf5569.chunk.js.map,1625415900091,edafc3e3678979dbce13485d759c8cf7124ca3bbc16f8a65b048d254573b06d9

client/.firebaserc

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"projects": {
3+
"default": "mates-app-f9323"
4+
}
5+
}

client/firebase.json

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"hosting": {
3+
"public": "build",
4+
"ignore": [
5+
"firebase.json",
6+
"**/.*",
7+
"**/node_modules/**"
8+
],
9+
"rewrites": [
10+
{
11+
"source": "**",
12+
"destination": "/index.html"
13+
}
14+
]
15+
}
16+
}

client/src/axios.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import axios from "axios";
22

33
const instance = axios.create({
4-
baseURL: "http://localhost:9000",
4+
// baseURL: "http://localhost:9000",
5+
baseURL: "https://matesapp-backend-app.herokuapp.com",
56

67
});
78

0 commit comments

Comments
 (0)