mirror of
https://github.com/alm494/sql_proxy.git
synced 2026-04-26 19:41:50 +02:00
5778a4ae7b37a3095c7734d6c4384f8a248cbc6e
SQL-PROXY
About
A lightweight REST service designed to replace ADODB calls in legacy software systems that support web requests. This service streamlines database interactions while maintaining security and efficiency.
Key features:
- Multi-Database Support : Compatible with PostgreSQL, Microsoft SQL Server, and MySQL databases. Additional standard Golang database drivers can be integrated as needed;
- Secure Credential Management : Does not store SQL credentials, ensuring sensitive information remains protected;
- Secure Communication : Supports HTTPS for secure data transmission;
- Efficient Connection Pooling : Utilizes a shared, reusable SQL connection pool with automated maintenance tasks to remove stale or dead connections;
- Command Support : Currently supports both SELECT and EXECUTE commands. The SELECT command returns query results as a JSON-formatted recordset;
- Result Limitation : Allows configuration to limit the number of rows returned by SELECT statements;
- Prepared Statements : Implementation of prepared statements is planned for future development;
- Flexible Binding : Can bind to localhost or any specified IP address for enhanced security. By default, it is intended to bind to localhost and run alongside legacy software;
- Security Responsibility : Does not perform SQL query validation for security purposes. It is the responsibility of the user to configure appropriate database privileges.
- Monitoring and Metrics : Provides Prometheus metrics for performance monitoring and observability;
API description
[coming soon]
Languages
Go
89.6%
Makefile
5.5%
Shell
4.9%