Build a backend application in Node.js or Go that generates encrypted data streams with 49-499 messages, validates data integrity, and stores it as time-series data in MongoDB. Create a real-time frontend to display data and success rates. Ensure proper error handling, Git commits, optional testing, and Dockerization for bonus points. Link
Live Demo 👉 Click here
Backend API 👉 Click here
- Data Encryption: Use a secure encryption algorithm like AES-256-CTR for encrypting the data. Ensure that the encryption keys are kept secret and are managed securely.
- Socket Communication: Implement robust socket communication between the Emitter and Listener services. Handle socket disconnections and errors gracefully.
- Data Validation: Validate the integrity of incoming data using the
secret_key
before processing it. Discard any data with compromised integrity to maintain data security. - MongoDB Schema Design: Design the MongoDB schema for efficient time-series data storage. Use appropriate indexing and aggregation strategies to optimize query performance.
- Error Handling: Implement error handling in both services to prevent crashes and provide informative error messages. Log errors for debugging purposes.
- Real-time Data Processing: Ensure that the Listener service processes data in real time and saves it to the database with the correct timestamps.
- Real-time Display: Build a responsive frontend that can display data in real-time as it arrives from the Listener service.
- User Interface: Create a user-friendly interface to visualize the data. Consider using charts or tables to display the time-series data.
- Success Rate Calculation: Implement logic to calculate and display the success rate for data transmission and decoding. This can be based on the number of valid messages received compared to the total number sent.
To run the Node.js project, follow these steps:
- Clone the repository to your local machine.
- Navigate to the project directory.
- Run
npm install
to install the required Node.js dependencies. - Start the development server with the appropriate command for your Node.js application (e.g.,
node server.js
).
- ◉ JavaScript : 76.4%
- ◉ HTML : 15.0%
- ◉ CSS : 8.6%
This report is provided by the GitHub language used stats. So, this is the total percentage of the coding languages.
# Installing :
- Clone the repository to your local machine
- Navigate to the project directory
- Run
npm install
to install the required dependencies
### An individual project, completed in a duration of 2 days.
# Our Learnings : On this journey, we faced many issues, but we kept motivated each other with patience. - We learned how to write more efficient and clean code. - Even though We also learned how to plan a project and how to execute it step by step. - Through this Project, we have learned to effectively improve productivity. - We also got a glimpse of using GitHub for version control.
We welcome contributions to the Encrypted TimeSeries. If you have an idea for a new feature or have found a bug, please open an issue in the repository.
Give a ⭐️ if you like this project!