Skip to content
This repository was archived by the owner on Sep 26, 2024. It is now read-only.

Latest commit

 

History

History
32 lines (23 loc) · 1.29 KB

File metadata and controls

32 lines (23 loc) · 1.29 KB

Expense Tracker App

This is a full-stack expense tracker application. It uses a React front-end and a Node.js back-end with a MySQL database. Follow the instructions below to set up and run the application locally.

Prerequisites

Before you begin, ensure you have the following installed:

  • Node.js and npm
  • MySQL (Preferably MySQL Workbench)

Getting Started

1. Clone the repository

2. Set Up the MySQL Database

  • Open MySQL Workbench and create a new schema named 'expense_tracker'.
  • Start a new MySQL connection, making sure the default schema is set to 'expense_tracker'.

3. Install Dependencies

You need to open two terminals to start both the client and the server

  • Terminal 1: Navigate to the 'client' directory and run 'npm install'
  • Terminal 2: Navigate to the 'server' directory and run 'npm install'
  • After installing dependencies is finished for both 'client' and 'server', run 'npm start' in both directories

Potential problems while starting 'server':

Bcrypt: If an error occurs after running 'npm start' in the server directory involving any 'bcrypt'

  1. Run 'npm uninstall bcrypt'
  2. Run 'npm install bcrypt'
  3. Run 'npm start' to start the server again.

Project Report

https://docs.google.com/document/d/1eG9HXxCFTog4b3Mgf_azk7aNsbzBKmkXt3VwnvSZHl0/edit?usp=sharing