Coder Social home page Coder Social logo

money-tracking-mern-stack's Introduction

Money-Track Web App

Authors

Documentation

Money tracking app is built using the MERN stack, which includes a MongoDB database, an Express server, a React client-side interface, and Node.js as the runtime environment.

The app allows you to track your expenses and income, and to view your transaction history in a user-friendly interface.

Features

  • Search for a cryptocurrency and view its details
  • View the latest price of a cryptocurrency and its price trend using a chart
  • View the top cryptocurrencies sorted by market cap
  • View the news related to cryptocurrencies

File Structure

  • src/main.js: The main entry point of the application.
  • src/App.jsx: The main component of the application.
  • backend/models: Contains all schema for database
  • backend/index.js: Server file for Express

Usage

Once the app is running, you can start tracking your money:

  • To add a new transaction fill out the form with the transaction details and click "Add" button to save it to the database.
  • You can view your transaction history below the form. This will display a list of all your transactions, with the most recent ones at the top.
  • To view your balance, check the "Balance" section in the header. This displays the total of all your income transactions minus the total of all your expense transactions.

API Endpoints

The money tracking app has the following API endpoints:

  • GET /api/transactions: returns all transactions in the database.
  • POST /api/transactions: adds a new transaction to the database.

Conclusion

Explore for more about the MERN Stack. With this app, you can easily keep track of your expenses and income, and make informed decisions about your finances.

Run Locally

Clone the project

  git clone https://github.com/Kamilismayilzade/money-tracking-mern-stack

Go to the project directory

  cd money-tracking-mern-stack

Install dependencies

  npm i
  npm i nodemon
  npm i express
  npm i mongoose
  npm i dotenv
  npm i cors

Install devDependencies

  npm create vite@latest

Start the server

  npm run dev
  • Set up your MongoDB database and make sure it is running.

  • In the project root directory, create a .env file and set the following environment variables:

MONGODB_URI=<your_mongodb_uri>
PORT=<your_server_port>

Badges

React

MongoDB

Express.js

NodeJS

Tech Stack

Client: React

Server: Express

๐Ÿ›  Skills

React, Express, Node, MongoDB, MERN STACK

Feedback

Screenshots

screencapture-localhost-5173-2023-03-30-22_08_18

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.