Skip to content

πŸŽ‰ Welcome to the Expense Tracker project! πŸŽ‰ This web application πŸ–₯️, built with React βš›οΈ, is designed πŸ“ to help users πŸ‘₯ keep track 🧾 of their expenses πŸ’΅. With this app πŸ› οΈ, users πŸ‘₯ can easily ✨ add βž• and delete ❌ expenses πŸ’Έ, view πŸ“Š a summary πŸ“ of their spending habits πŸ’°, and see πŸ–₯️ the available balance πŸ’΅ the user πŸ‘€ has left 🏦.

Notifications You must be signed in to change notification settings

nidhiupman568/ExpenseTracker-Using-React.JS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ’Έ Expense Tracker Project Using React.JSπŸ’Έ

πŸŽ‰ Welcome to the Expense Tracker project! πŸŽ‰ This web application πŸ–₯️, built with React βš›οΈ, is designed πŸ“ to help users πŸ‘₯ keep track 🧾 of their expenses πŸ’΅. With this app πŸ› οΈ, users πŸ‘₯ can easily ✨ add βž• and delete ❌ expenses πŸ’Έ, view πŸ“Š a summary πŸ“ of their spending habits πŸ’°, and see πŸ–₯️ the available balance πŸ’΅ the user πŸ‘€ has left 🏦. Building an Expense Tracker πŸ“Š with React βš›οΈ helps users πŸ‘₯ learn πŸ“š and practice πŸ› οΈ creating web applications 🌐.

πŸ“‹ Description

The Expense Tracker πŸ’΅ is a simple yet powerful πŸ› οΈ web application πŸ–₯️ that provides real-time πŸ“Š tracking of expenses πŸ’Έ. With its user-friendly πŸ§‘β€πŸ’» interface πŸ–₯️, users πŸ‘₯ can:

  • Add βž• transactions πŸ’Έ
  • Edit ✏️ transactions πŸ’Έ
  • Delete ❌ transactions πŸ’Έ

The application πŸ–₯️ maintains an updated πŸ’― list πŸ“‹ of expenses πŸ’Έ and displays πŸ–₯️ the total expenses πŸ’΅ for visibility πŸ‘οΈ. The use of React βš›οΈ components 🧩 ensures that the codebase πŸ–₯️ is structured πŸ—οΈ and modular 🧩, making it easy πŸ”§ to maintain and scale πŸ“ˆ.

πŸ› οΈ Prerequisites and Technologies Used

  • Node.js πŸ–₯️: JavaScript runtime πŸš€
  • React βš›οΈ: JavaScript library πŸ“š for building user interfaces πŸ–₯️
  • JavaScript πŸ’»: Programming language πŸ–₯️
  • HTML/CSS πŸ“: For structuring πŸ“‹ and styling 🎨 the application

πŸš€ Approach and Functionality

To build πŸ’» the Expense Tracker πŸ“Š, the project involves:

  1. Creating πŸ› οΈ a user interface πŸ–₯️ that allows users πŸ‘₯ to:

    • Add βž• transactions πŸ’Έ
    • Edit ✏️ transactions πŸ’Έ
    • Delete ❌ transactions πŸ’Έ
  2. Maintaining πŸ—‚οΈ an updated πŸ’― list πŸ“‹ of expenses πŸ’Έ within the app’s state πŸ”„.

  3. Displaying πŸ–₯️ the total expenses πŸ’΅ for visibility πŸ‘οΈ.

  4. Utilizing πŸ› οΈ React βš›οΈ components 🧩 to keep the codebase πŸ–₯️ structured πŸ—οΈ and modular 🧩, promoting maintenance πŸ”§ and scalability πŸ“ˆ.

πŸ“‹ Steps to Create Expense Tracker in React

  1. Create πŸ› οΈ a new React JS project πŸ–₯️ using the following command πŸ–₯️:

    npx create-react-app <<Project_Name>> πŸŽ‰
  2. Change πŸšΆβ€β™‚οΈ to the project directory πŸ“‚:

    cd <<Project_Name>> πŸ“‚
  3. Install πŸ“₯ the required modules πŸ› οΈ:

    npm i styled-components 🎨
  4. Create πŸ“‚ a folder called components πŸ“¦ in the src directory πŸ“‚ and create the following files πŸ“„ inside it:

    • AddTransaction.js ✏️
    • OverviewComponent.js πŸ–₯️
    • Tracker.js πŸ› οΈ
    • TransactionItem.js πŸ’³
    • TransactionsContainer.js πŸ—‚οΈ

    Also, create a file πŸ“ called globalStyles.js in the src directory πŸ“‚.

    Example Code

    • App.js πŸ–₯️: This component 🧩 is responsible πŸ”§ for rendering πŸ–₯️ the layout πŸ“‹ of the application.
    • AddTransaction.js ✏️: This component 🧩 allows users πŸ‘₯ to add βž• transactions πŸ’Έ.
    • OverviewComponent.js πŸ–₯️: This component 🧩 displays πŸ–₯️ the balance πŸ’° along with an β€œAdd” βž• button.
    • Tracker.js πŸ› οΈ: The component 🧩 that brings together πŸ› οΈ parts of the application πŸ–₯️ such as overview πŸ–₯️, transaction list πŸ“‹, and addition βž• of transactions πŸ’Έ.
    • TransactionItem.js πŸ’³: This component 🧩 displays πŸ–₯️ transaction details πŸ“‹ including description πŸ“, amount πŸ’΅, and a button πŸ–²οΈ to remove ❌ it from the list πŸ“‹.
    • TransactionsContainer.js πŸ—‚οΈ: This component 🧩 filters πŸ” the list πŸ“‹ of transactions πŸ’Έ, offers a search πŸ” input field πŸ–₯️, and displays πŸ–₯️ only filtered transaction items πŸ“‹.

πŸš€ Steps to Run the Project

  1. Start πŸš€ the project by typing πŸ–₯️ the following command πŸ–₯️ in the terminal:

    npm start πŸš€
  2. Open πŸ”“ your web browser 🌐 and type πŸ–₯️ the following URL 🌐:

    http://localhost:3000/ 🌐
    

πŸ”„ Clone the Repository

To clone 🧩 the repository πŸ—‚οΈ, follow these steps:

  1. Clone 🧩 the repository πŸ—‚οΈ using the following command πŸ–₯️:

    git clone https://github.com/nidhiupman568/ExpenseTracker-Using-React.JS.git πŸ”„
  2. Navigate πŸšΆβ€β™‚οΈ into the project directory πŸ“‚:

    cd your-repository πŸ“‚
  3. Install πŸ“₯ the dependencies πŸ› οΈ:

    npm install πŸ“₯

πŸ“Έ Screenshots (Output)

Here’s a sneak peek πŸ–ΌοΈ of the Expense Tracker πŸ“Š in action ⏳:

expense

πŸŽ‰ Enjoy using the Expense Tracker! πŸŽ‰ Feel free to share πŸ—£οΈ your feedback πŸ“ or contribute 🀝 to the project by making a pull request πŸš€. Happy tracking! πŸ§ΎπŸ’°

Getting Started with Create React App

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

npm start

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

The page will reload when you make changes.
You may also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

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!

See the section about deployment for more information.

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.

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

Code Splitting

This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting

Analyzing the Bundle Size

This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size

Making a Progressive Web App

This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app

Advanced Configuration

This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration

Deployment

This section has moved here: https://facebook.github.io/create-react-app/docs/deployment

npm run build fails to minify

This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify

About

πŸŽ‰ Welcome to the Expense Tracker project! πŸŽ‰ This web application πŸ–₯️, built with React βš›οΈ, is designed πŸ“ to help users πŸ‘₯ keep track 🧾 of their expenses πŸ’΅. With this app πŸ› οΈ, users πŸ‘₯ can easily ✨ add βž• and delete ❌ expenses πŸ’Έ, view πŸ“Š a summary πŸ“ of their spending habits πŸ’°, and see πŸ–₯️ the available balance πŸ’΅ the user πŸ‘€ has left 🏦.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published