A full-stack application for tracking and managing investment portfolios. The application allows users to view, add, and manage their portfolio items using a user-friendly interface.
To clone this repository, ensure you have Git installed on your machine. Then run the following command:
git clone https://github.com/LohiyaH/PortfolioPal.git
Replace yourusername
with your GitHub username.
- Navigate to the
backend
directory. - Run
npm install
to install the necessary dependencies. - Create a
.env
file based on the.env.example
file to set up your environment variables.
- Navigate to the
frontend
directory. - Run
npm install
to install the necessary dependencies. - Create a
.env
file based on the.env.example
file to set up your environment variables.- Set
REACT_APP_ALPHA_VANTAGE_API_KEY
to your Alpha Vantage API key.
- Set
- In the
backend
directory, runnpm start
to start the server. - The server will run on
http://localhost:5000
.
- In the
frontend
directory, runnpm start
to start the React application. - The application will run on
http://localhost:3000
.
- Ensure you have Node.js and npm installed on your machine.
- Clone the repository:
git clone https://github.com/LohiyaH/PortfolioPal.git cd PortfolioPal
- Install dependencies for both backend and frontend:
- For backend:
cd backend npm install npm start
- For frontend:
cd frontend npm install npm start
- For backend:
- Access the application at
http://localhost:3000
.
- The application assumes that you have a valid Alpha Vantage API key set in the
.env
file for the frontend. - The Alpha Vantage API has a limitation of 25 requests per day.
- The backend requires a connection to a MySQL database.
- Live API Documentation: Alpha Vantage API Docs
Contributions are welcome! Please open an issue or submit a pull request for any enhancements or bug fixes.
This project is licensed under the ISC License.