This project utilizes VueJs and Firebase to build a basic full-stack CRUD application that allows users to post to a public form. The project uses user sign in and email confirmation with Firebase and passwords are hashed twice, client-side and through firebase. All posted data is encrypted clientside with EAS before being posted to Firebase database. Posts are publically visible and users can individually comment on these.
npm install
npm run serve
npm run build
npm run lint
Note: A firebase.js file is required to be configured to run this project, The format should be as follows:
To run this, you must create an account with firebase and start a database. Inside the database settings, there will be a text block to copy and pase into the firebase.js file. Make the nessesary edits to format the code below. The file should be placed in the src folder.
import firebase from 'firebase/app';
import 'firebase/firestore';
const fireBaseApp = firebase.initializeApp({
apiKey: "*****",
authDomain: "*****",
projectId: "*****",
storageBucket: "*****",
messagingSenderId: "*****",
appId: "*****",
measurementId: "*****",
});
const db = fireBaseApp.firestore();
export { db };