Code Monkey home page Code Monkey logo

mk-manishkumar / coinkeeper Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 128 KB

CoinKeeper is an expense tracking web application designed to help you keep track of your finances. With CoinTracker, you can easily monitor your expenses, categorize them, and gain insights into your spending habits.

Home Page: https://coinkeeper-ngmb.onrender.com/

License: MIT License

JavaScript 51.27% CSS 16.01% EJS 32.72%
bcryptjs boot bootstrap5 ejs expressjs jsonwebtokens mongodb mongoose nodejs

coinkeeper's Introduction

CoinKeeper

CoinKeeper is an expense-tracking web application designed to help you keep track of your finances. With CoinKeeper, you can easily monitor your expenses, categorize them, and gain insights into your spending habits.

Deployment

This web application is live. Click here

Features

  • User registration and login
  • Add, view, and delete expenses
  • View total expenses by category (Savings, Expenditure, Investment)

Technologies Used

  • Node.js
  • Express.js
  • MongoDB (with Mongoose)
  • EJS (Embedded JavaScript templates)
  • Bootstrap (for styling)
  • bcrypt (for password hashing)
  • jsonwebtoken (for authentication)

Prerequisites

  • Node.js and npm installed
  • MongoDB installed and running
  • Environment variables set up

Installation

  1. Clone the repository:
git clone https://github.com/yourusername/coinkeeper.git
cd coinkeeper
  1. Install dependencies:
npm install
  1. Set up environment variables:

Create a .env file in the root directory and add the following variables:

JWT_SECRET=your_jwt_secret
MONGO_URI=your_mongo_connection_string
PORT = your_port
SECRET_KEY = your_secret_key
  1. Run the application:
npm start

The application will be available at http://localhost:your_port.

Usage

Register

  1. Navigate to http://localhost:your_port/register.
  2. Fill out the registration form and submit.

Login

  1. Navigate to http://localhost:your_port.
  2. Fill out the login form and submit.

Profile

  1. After logging in, you will be redirected to the profile page.
  2. Add expenses by selecting the expense type, entering a description, and amount.
  3. View your total expenses by category.
  4. Clear all expenses using the "Clear All" (x) button.

Logout

  1. Click the Log Out button to log out of your account.

Project Structure

├── public
│   ├── script.js
│   └── style.css
├── controllers
│   └── controller.js
├── views
│   ├── index.ejs
│   ├── login.ejs
│   └── register.ejs
├── .env
├── .gitignore
├── README.md
├── package.json
├── server.js
├── utils
│   └── utils.js
├── middlewares
│   └── middleware.js
└── models
    ├── amount.model.js
    └── user.model.js
  • public: Contains static assets such as CSS and JavaScript files.
  • controllers: Contains the route handlers for the application.
  • views: Contains the EJS templates for rendering HTML.
  • utils: Contains utility functions used throughout the application.
  • middlewares: Contains middleware functions such as authentication.
  • models: Contains Mongoose models for interacting with the MongoDB database.

Contributing

Contributions are welcome! Please fork the repository and submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

coinkeeper's People

Contributors

mk-manishkumar avatar

Stargazers

 avatar  avatar

Watchers

 avatar

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.