@snap-mysql/server
v1.1.0
Published
Lightweight Node.js server that bridges the Snap! MySQL Extension to a MySQL database.
Downloads
19
Maintainers
Readme
snap-mysql / server
This is the Snap! MySQL server, a lightweight Node.js HTTP server that acts as the middleware between the Snap! MySQL extension (https://gitlab.com/snap-mysql/extension) and a MySQL database instance.
This server is intended for deployments where the Snap! extension is loaded in a web browser --- either the official snap.berkeley.edu application or a self-hosted Snap! instance. It is not used by the Electron desktop application (https://gitlab.com/snap-mysql/desktop), which implements its own thinner backend using mysql2 directly.
The implemented API contract is documented at https://gitlab.com/snap-mysql/api-contract
License
The Snap! MySQL server is free software. You may redistribute and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/.
