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.
Before you begin, ensure you have the following installed:
- Node.js and npm
- MySQL (Preferably MySQL Workbench)
- 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'.
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
Bcrypt: If an error occurs after running 'npm start' in the server directory involving any 'bcrypt'
- Run 'npm uninstall bcrypt'
- Run 'npm install bcrypt'
- Run 'npm start' to start the server again.
https://docs.google.com/document/d/1eG9HXxCFTog4b3Mgf_azk7aNsbzBKmkXt3VwnvSZHl0/edit?usp=sharing