geraldo916 / Stream-Project-01

A simple app that read 1000 line of data from database and Stream it to client using Web Streams

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stream-Project-01

A simple app to read data from a database and stream it to client using Node js Stream and Web Streams

Dependencies

The project has the following dependencies:

  • sqlite3: "^5.1.6"

These dependencies can be installed using the package manager of your choice, such as npm or yarn.

Installation

To install the project dependencies, navigate to the project directory and run the following command: npm install

This will install all the required dependencies listed in the package.json file.

Usage

To start the project, run the following command: npm start

This will execute the start script defined in the package.json file, which runs the index.js file located in the src directory.

Scripts

The project includes the following scripts:

  • start: This script is used to start the project. It runs the index.js file located in the src directory.

  • generate-data: This script is used to create a SQLite file database and some amount of data.

You can execute these scripts by running the following command:

npm start

About

A simple app that read 1000 line of data from database and Stream it to client using Web Streams


Languages

Language:JavaScript 77.2%Language:HTML 22.8%