Welcome to the Stock Market Insight Project! Follow the steps below to set up and run the project on your local machine.
Ensure you have the following installed on your system:
- Node.js (for running the server and client)
- MongoDB (for database setup)
- Clone this repository to your local machine:
git clone <repository-url>
- Navigate to the project directory":
cd stock-market-insight
- Navigate to the server folder:
cd server
- Create a .env file in the server folder:
touch .env
- Add the following keys to the .env file:
PERPLEXITY_API_KEY='' MONGO_URL='' STOCK_PRICE_KEY='' NEWS_KEY=''
Replace the empty strings with your actual API keys and MongoDB URL.
- In the server folder, run:
npm init npm run dev
- Open a new terminal window.
- Navigate to the client folder:
cd client
- Run:
npm init npm run dev
- On the login page, use the following credentials:
Username: user Password: password
You can choose to hide or see your password by click on the eye/monkey button:
-
Click Login to access the application. If you put in right credentials, you will see this default page:
-
Start input your stock symbol for technical analysis, sentiment analysis, and overall analysis.
-
You can also click on Prediction on top right for a simple regression line prediction. It is a good tool to see the trend.