Skip to content

An 💰 Expense Tracking App Made using React ⚛️ , Firebase for storage and authentication

License

Notifications You must be signed in to change notification settings

YogeshPrasanna/expense-manager-react

Repository files navigation

A Simple Expense Manager 💵

Note

I have stopped support for this application in terms of updating the stack and versions, if you run npm install , you might run into errors for not having latest versions of firebase , hence i advice to download the node modules in this project to run it locally

DEMO Account

In case you need to have a quick look at the app without creating an account, use the below credentials

Click Here For Demo

Username : [email protected] password : yogesh

SCREENSHOTS

Mobile Views

Mobile Screens

Night Mode Home Page

Night Mode Home

Month View Page Night Mode

Night Mode Month

Daily View Night Mode

Daily View

Statistics Night Mode

Statistics

Saving Goals Night Mode

Savings

Settings Night Mode

Settings

Filter Night Mode

Filter Page

Home Page Day Mode

Home Page

Monthly View Day Mode

Monthly View

Daily View Day Mode

Daily View

Statistics Day Mode

Statistics

Loan Page Day Mode

Loan Page

Saving Goals Day Mode

Savings

Settings Day Mode

Settings

Login Screen

Login Page

Calendar Component

Calendar Component

SETUP

1. Setting Up Firebase

  • Create a firebase account

  • Create a new firebase project

    Add Firebase Project Add Firebase Project

  • Be Sure to Choose Realtime Database , and not firestore

  • change database rules to Change database rules

  • Now lets add the app in firebase Adding the app

  • Give Your app a name & hosting is optional Give Your app a name

  • Now Lets add the config in ./src/firebase/firebase.js lets add the config

  • OPTIONAL_STEP : If you're hosting this app somewhere make sure the api key comes from .env.local as environment variable, doing this does not expose yor api-key , and do not commit this file to github , add this in .gitignore # api Keys *.env

    create a file named .env.local in root folder and add your firebase api key here

    REACT_APP_FIREBASE_API_KEY = "your-api-key-here" .env.local

  • Enable Google Authentication and Email Authentication , Feel Free to add other authentication methods and setup accordingly Enable Google Authentication

  • Setup Email Verification Template Setup Email Verification Template

  • Finally we need to set up the API-Key for currency converter , which is needed for travel mode.

    • Head over to currencyconverterapi.com

    • create your API-KEY

    • Add this in .env.local as a environment variable

      REACT_APP_FREE_CURRENCY_CONVERTER_API_KEY = "your-api-key-here"

  1. Setup Repo Locally

    git clone https://github.com/YogeshPrasanna/expense-manager-react.git

npm install

  This will install all the required packages and dependencies to run the app.

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

npm run eject

Note: this is a one-way operation. Once you eject, you can’t go back!

If you aren’t satisfied with the build tool and configuration choices, you can eject at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (Webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.

You don’t have to ever use eject. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.

Supported Browsers

By default, the generated project uses the latest version of React.

You can refer to the React documentation for more information about supported browsers.