To get started with development, you need to install few tools
-
git
git
version 2.13.1 or higher. Download git if you don't have it already.To check your version of git, run:
git --version
-
node
node
version 16.15.1 or higher. Download node if you don't have it already.To check your version of node, run:
node --version
-
npm
npm
version 5.6.1 or higher. You will have it after you install node.To check your version of npm, run:
npm --version
To set up a development environment, please follow these steps:
-
Clone the repo
git clone https://github.com/bhavy03/SpendWiseAssign.git
-
Install the dependencies
npm install
If you get an error, please check the console for more information.
If you don't get an error, you are ready to start development.
-
Replace ServiceAccountKey.json with your serviceAccountKey.json file
-
Run the app
npm run dev
Project will be running in the terminal. Now whenever the entries in the firebase realtime database changes it will update the other collection