This is a accounting web app that can serve the purpose of tally. This is developed with angular and firebase. View Demo
-
Install Your Project Dependencies
npm install
-
Install Firebase Depndencies
cd firebase/functions npm install
-
Make a file src/environments/firebase.ts and add your firebase credentials in that file:-
export const firebase = {your credentials}
-
Install firebase cli client and login with your account.
-
Make Your Firebase Project in firebase console.
-
Make a file firebase/.firebaserc and add the following and replace your-project-name with your project name:-
{ "projects": { "default": "your-project-name" } }
-
Deploy Your Firebase Functions and Firestore Rules.
firebase deploy --only functions firebase deploy --only firestore
- Run
ng serve
for a dev server. Navigate tohttp://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
Run npm run deploy
And It will deploy a production version to firebase hosting and you will be running the web app on the firebase.