1.Clone the Repository git clone <repository_url> cd directory name
2.Install Dependencies Backend and Frontend npm install
3.Start the API Server npm start
4.Start The Client Server npm run start
Technologies Used Node.js and Express: For building the API server. Axios: Used for making HTTP requests to external APIs. WebSocket (WS): Implemented for real-time communication. Jest and Supertest: Employed for unit testing the API endpoints.
Technologies Used React.js: For Frontend Technology Axios: Used for making HTTP requests to external APIs. WebSocket (WS): Implemented for real-time communication. Jest and Supertest: Employed for unit testing the API endpoints.
Architecture Node.js and Express: Chosen for its lightweight, flexible nature for creating RESTful APIs. WebSocket: Implemented for real-time updates, enabling bi-directional communication between clients and the server. Axios: Used to interact with external APIs for fetching stock data.
Important Considerations API Key Security: Ensure sensitive data like Polygon API keys are securely stored and accessed. Error Handling: Implement robust error handling for API endpoints, including appropriate HTTP status codes and error messages. Testing: Maintain and expand test coverage to ensure the reliability and stability of the API.