Follow the steps below to set up and run the frontend application for the Taskforce Expense Tracker App:
Clone the repository from GitHub to your local machine:
git clone https://github.com/Codinglone/taskforce-expense-tracker-frontend.gitChange to the frontend directory:
cd taskforce-expense-tracker-frontendInstall all required dependencies using npm:
npm installCreate a .env file in the root of the frontend directory and add the following environment variable:
VITE_API_BASE_URL=http://localhost:5000/api- Ensure the URL matches the backend API base URL.
Run the following command to start the frontend server in development mode:
npm run dev- The frontend application will be available at:
http://localhost:5173