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.gitReplace yourusername with your GitHub username.
- Navigate to the
backenddirectory. - Run
npm installto install the necessary dependencies. - Create a
.envfile based on the.env.examplefile to set up your environment variables.
- Navigate to the
frontenddirectory. - Run
npm installto install the necessary dependencies. - Create a
.envfile based on the.env.examplefile to set up your environment variables.- Set
REACT_APP_ALPHA_VANTAGE_API_KEYto your Alpha Vantage API key.
- Set
- In the
backenddirectory, runnpm startto start the server. - The server will run on
http://localhost:5000.
- In the
frontenddirectory, runnpm startto 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
.envfile 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.