A simple app to read data from a database and stream it to client using Node js Stream and Web Streams
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.
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.
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.
The project includes the following scripts:
-
start: This script is used to start the project. It runs the
index.js
file located in thesrc
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