Welcome to SpyInvest, where you have a license to invest!
SpyInvest is a powerful investment management tool that allows users to create and manage multiple portfolios. Within each portfolio, users can add various assets, and the application will fetch real-time market prices using APIs. With SpyInvest, you can effortlessly monitor the performance of your investments, including total profit and loss for all your portfolios, as well as detailed insights into individual assets.
- Multiple Portfolios: Manage several portfolios, each with its own set of assets.
- Real-Time Market Data: Get up-to-date market prices for your investments.
- Comprehensive Reporting: View total profit and loss across all portfolios, as well as detailed performance metrics for each individual asset.
To install and run the application locally, please follow these steps:
Clone the repository to your local machine using the following command:
git clone https://github.com/olnov/spyinvest
Navigate to the FrontEnd directory and install the required packages:
cd ./FrontEnd
npm install .
Next, navigate to the API directory and install the backend dependencies:
cd ../API
npm install .
To seed the database with initial data, run the following commands:
node ./seed.js
node ./seedAssets.js
You will need to create relevant secret keys for both the FrontEnd and BackEnd. Please refer to dotenv's documentation for more information on how to configure environment variables.
Start the backend server:
npm start
Then, in a new terminal, start the frontend development server:
cd ../FrontEnd
npm run dev
The application should now be up and running on your local machine.
We welcome contributions! Please fork the repository and submit a pull request for any features, bug fixes, or improvements.
This project is licensed under the MIT License.
Enjoy using SpyInvest, and may your investments flourish!