Budget Tracker is a web app made with the PERN stack. It helps you manage expenses, track income, and plan savings securely. With features like Google login and clear permissions, you can trust your data's privacy. Whether it's for personal use or small-scale finance tracking, our app keeps things easy and reliable.
- Navigate to the
clientdirectory.
cd client- Install the required react dependencies through.
npm install- Run the frontend server.
npm start- Navigate to the
serverdirectory.
cd server- Install the required react dependencies through.
npm install-
All the commands to create all the functionalites for the sql database are in
Database.sqlfile. You have to run them one by one to create all the required tables, triggers and other procedures. -
Change this code snippet in the
src/config/db.jsfile accordingly. The comments represent the values I have set for my local machine.
const appDataSource = new dbConnect.DataSource({
type: "postgres",
host: "localhost",
port: 5432, // Change port if needed
username: "postgres", // Change username if required
password: "123", // Change to your specified password
database: "Budget-Tracker-App", // Change to your specified database name
synchronize: true,
entities: ["src/models/*.js"],
logging: true,
migrations: ["src/migrations/*.ts"]
});
});- Run the backend server.
npm run index.js