Skip to content

Latest commit

 

History

History
98 lines (75 loc) · 2.99 KB

README.md

File metadata and controls

98 lines (75 loc) · 2.99 KB

Expense Tracker Website

Our Expense Tracker website is a powerful tool designed to help users efficiently manage and track their expenses. Built using Django, HTML, CSS, and JavaScript, this web application provides a seamless and user-friendly experience.

Key Features

  1. Intuitive User Interface

    • Designed with simplicity and ease of use in mind, our website ensures that users can quickly navigate through their expense data.
  2. Data Visualization with Chart.js

    • Leveraging the power of Chart.js, the application offers insightful visualizations of expense data. Users can easily understand their spending patterns through dynamic charts and graphs.
  3. Ajax Search Functionality

    • The website includes an advanced search feature powered by Ajax. This allows users to search through their expenses in real-time without the need to reload the page, providing a smooth and efficient user experience.
  4. Email Verification

    • To ensure the security and authenticity of user accounts, our application implements email verification. Users receive a verification link upon registration, enhancing the overall security of the platform.

Technologies Used

  • Django
  • HTML
  • CSS
  • JavaScript

Installation

  1. Clone the repository:

    git clone https://github.com/Swam244/Expense_tracker.git
  2. Navigate to the project directory:

    cd Expense_tracker
  3. Create a virtual environment and activate it:

    pipenv shell
  4. Install the required dependencies:

    pipenv install
  5. Make Changes in environment variables in the .env file:

    Create a .env file in the root folder and set your corresponding values to these variables.

    1. If using another database than default.
    DB_NAME = "Your Database name"
    DB_USER = "User on your Database"
    DB_PASS = "Password"
    HOST = "localhost"
    EMAIL_HOST_USER = "Your email host for sending mail"
    EMAIL_HOST = "smtp.gmail.com"
    EMAIL_HOST_PASSWORD = "Host password(generated thru third party feature of google mail)"
    DEFAULT_FROM_EMAIL = ""
    EMAIL_PORT = 587
    EMAIL_USE_TLS = True

    2. If using Django's default sqlite3 database.
    EMAIL_HOST_USER = "Your email host for sending mail"
    EMAIL_HOST = "smtp.gmail.com"
    EMAIL_HOST_PASSWORD = "Host password(generated thru third party feature of google mail)"
    DEFAULT_FROM_EMAIL = ""
    EMAIL_PORT = 587
    EMAIL_USE_TLS = True

    and also make changes in the database section of settings.py, it should look like this screenshot

  6. Apply migrations:

    python manage.py makemigrations
    python manage.py migrate
  7. Create a superuser:

    python manage.py createsuperuser
  8. Run the development server:

    python manage.py runserver
  9. Open your web browser and go to http://127.0.0.1:8000/ to view the website.