This is a simple Node.js application that serves a SQLite database file over HTTP.
- Node.js installed on your machine
- SQLite3 installed on your machine
- Clone or download this repository.
- Navigate to the project directory in your terminal.
- Install dependencies by running:
npm install
To run the application, use the following command:
node server.js [path_to_database_file]
Replace [path_to_database_file] with the path to your SQLite database file.
node server.js mydatabase.db
GET /[path_to_database_file]: Retrieves the SQLite database file.
- This application serves only one SQLite database file specified as a command-line argument.
- Ensure that the database file path is correct and accessible from the server.