This project is a robust data management system developed using the MERN stack (MongoDB, Express.js, React.js, and Node.js). It focuses on the analysis of timestamped sample data, providing features such as data visualization, API filtering based on time scales, and integration with third-party APIs for location-based temperature data.
- Data Visualization: Visualize data points on a horizontal timeline where samples are color-coded: yellow (0), green (1), and red (missing).
- API Filtering: Filter data records from the database on various time scales (seconds , minutes and hours )with specified starting times.
- Third-Party API Integration: Retrieve and utilize temperature data based on location.
- Data Summary Generation: Generate and display summaries in tabular format showing counts and continuous variations of samples.
- Simulation Tool: Includes a sample generation simulator to mimic data entry for testing purposes.
Before you begin, ensure you have the following installed:
- Node.js
- MongoDB
- npm or yarn
git clone https://github.com/yourusername/DataCast.git
cd DataCast-
Navigate to the backend directory:
cd MERN APP -
Install dependencies:
npm install
-
Create a
.envfile in the root of the backend directory and add the following environment variables:MONGO_URI=mongodb://localhost:27017/your-database PORT=5001 -
Start the backend server:
npm start
-
Navigate to the frontend directory from the project root:
cd ../MERN APP FRONTEND -
Install dependencies:
npm install
-
Start the React application:
npm start
This will launch the frontend on http://localhost:3000.
- Accessing the Visualization: Once both servers are running, navigate to
http://localhost:3000to view the data visualizations. - Viewing Summaries: Access summaries of data through a dedicated summary page or endpoint.
Contributions are welcome! For major changes, please open an issue first to discuss what you would like to change.
This project is licensed under the MIT License - see the LICENSE.md file for details.