PucaVaz/expressSqlite

★ 0Forks 0JavaScriptGitHub ↗Compare

README

SQLite Database Server

This is a simple Node.js application that serves a SQLite database file over HTTP.

Prerequisites

  • Node.js installed on your machine
  • SQLite3 installed on your machine

Installation

  1. Clone or download this repository.
  2. Navigate to the project directory in your terminal.
  3. Install dependencies by running:
    npm install
    

Usage

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.

Example

node server.js mydatabase.db

API Endpoints

  • GET /[path_to_database_file]: Retrieves the SQLite database file.

Notes

  • 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.

Contributors

PucaVaz

Issues