https://fir-sample-e480e.firebaseapp.com/#/
# install dependencies
npm install
cd functions
# install dependencies
npm install
# deploy functions
firebase login
firebase deploy --only functions
Open src/config/dev.config.js and change '*****' information for your App.
export default {
firebase: {
apiKey: '*****',
authDomain: '*****',
databaseURL: '*****',
projectId: '*****',
storageBucket: '*****',
messagingSenderId: '*****',
},
endpoints: {
createThread: 'https://*****/CreateThread',
addComment: 'https://*****/AddComment',
},
}
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report
# deploy
firebase login
firebase deploy