Giter VIP home page Giter VIP logo

ayushivashisth / encrypted-timeseries Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 207 KB

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.

Home Page: https://encrtpted-timeseries-frontend.vercel.app/

JavaScript 82.10% HTML 11.36% CSS 6.54%
cyclic expressjs mongodb mongoose nodejs npm-module npm-package npm-scripts react tailwindcss

encrypted-timeseries's Introduction

✨✨Encrypted TimeSeries✨✨


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

Languages and Tools

Frontend

html5 tailwind

Backend
express mongoose

Tools

git git github

vscode slack

Deployed On:

vercel cyclic

Some Important Points:

Backend Services (Emitter and Listener):

  1. 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.
  2. Socket Communication: Implement robust socket communication between the Emitter and Listener services. Handle socket disconnections and errors gracefully.
  3. 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.
  4. MongoDB Schema Design: Design the MongoDB schema for efficient time-series data storage. Use appropriate indexing and aggregation strategies to optimize query performance.
  5. Error Handling: Implement error handling in both services to prevent crashes and provide informative error messages. Log errors for debugging purposes.
  6. Real-time Data Processing: Ensure that the Listener service processes data in real time and saves it to the database with the correct timestamps.

Frontend:

  1. Real-time Display: Build a responsive frontend that can display data in real-time as it arrives from the Listener service.
  2. User Interface: Create a user-friendly interface to visualize the data. Consider using charts or tables to display the time-series data.
  3. 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.

Usage

To run the Node.js project, follow these steps:

  1. Clone the repository to your local machine.
  2. Navigate to the project directory.
  3. Run npm install to install the required Node.js dependencies.
  4. Start the development server with the appropriate command for your Node.js application (e.g., node server.js).

Languages Used :

      ◉ 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 :
  1. Clone the repository to your local machine
  2. Navigate to the project directory
  3. 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.

Contributing

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.

Show your support

Give a ⭐️ if you like this project!

✨Thank You✨

encrypted-timeseries's People

Contributors

ayushivashisth avatar

Watchers

 avatar

Forkers

aajad2002

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.