Tally Clone
This is a accounting web app that can serve the purpose of tally. This is developed with angular and firebase. View Demo
Get Started
Install Dependencies
-
Install Your Project Dependencies
npm install -
Install Firebase Depndencies
cd firebase/functions npm install
Step Up Firebase Related Stuff:-
-
Make a file src/environments/firebase.ts and add your firebase credentials in that file:-
export const firebase = {your credentials}
Setup Firebase Functions and Firestore rules:-
-
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
Test Your Project :-
- Run
ng servefor a dev server. Navigate tohttp://localhost:4200/. The app will automatically reload if you change any of the source files.
And You are done.
Build
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.
Running unit tests
Run ng test to execute the unit tests via Karma.
Running end-to-end tests
Run ng e2e to execute the end-to-end tests via Protractor.
Deploy Web App to firebase Hosting
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.