This project provides a dashboard for displaying stock information in real-time.
- Node.js: JavaScript runtime built on Chrome's V8 JavaScript engine.
 - Prisma: Next-generation ORM for Node.js and TypeScript.
 - MongoDB: NoSQL database for storing stock details.
 - WebSockets: Real-time communication protocol for subscribing to data updates.
 
- React.js: JavaScript library for building user interfaces.
 - React-Redux: Predictable state container for JavaScript apps.
 - Redux Toolkit Query (RTK Query): Powerful data fetching and caching tool.
 - React Table: Flexible and extensible data tables for React.
 - Tailwind CSS: Utility-first CSS framework for rapid UI development.
 
- Find a Good API: Identify a reliable API to fetch stock details.
 - Database Setup: Store the fetched information in MongoDB using Prisma for ORM.
 - State Management: Implement state management using React-Redux and RTK Query.
 - Data Presentation: Use React Table to display stock details.
 - Styling: Style the application using Tailwind CSS.
 
- Navigate to the API Directory:
cd api - Install Dependencies::
npm install
 - Prisma SetUp:
npx prisma generate npx prisma migrate dev
 - Add Environment Variables: Create a .env file inside the api directory Refer to .api/sample.env for the required environment variables
 - Start the Backend Server:
npm run dev or npm start
 
- Navigate to the API Directory:
cd ui - Install Dependencies::
npm install
 - Start the Backend Server:
npm run dev or npm start
 
Refer to README files inside the api and ui directories for more detailed information.
Stock market opens between 2:30 to 9:30 IST, The project will only work in this time range