This project is a full-stack application that fetches real-time data for stocks or cryptocurrencies and displays it in a dynamic table. Users can view the most recent 20 data entries for a selected stock or crypto, and the table updates in real-time as new data is fetched. Additionally, users can change the stock or crypto being displayed through a modal/popup interface.
- Backend:
- Node.js
- Express.js
- Mongoose
- Axios
- dotenv
- Frontend:
- React
- Redux
- Redux Toolkit
- Axios
- TypeScript
- Database:
- MongoDB
- Node.js (v14 or later) and npm installed on your machine
- MongoDB installed and running
-
Backend Setup:
- Install backend dependencies: npm install
- Build and Start the backend server: npm start
- The backend server will run on http://localhost:5000
-
Frontend Setup:
- Install frontend dependencies: npm install
- Start the frontend development server: npm start
- The frontend application will run on http://localhost:3000