-
Notifications
You must be signed in to change notification settings - Fork 0
Getting Started
Shashank Patil edited this page Jul 26, 2026
·
1 revision
Welcome to the Generic SQL API Framework!
This guide will help you get the framework running in just a few minutes.
Before you begin, ensure you have the following installed:
- PHP 8.1 or later
- Microsoft SQL Server
- ODBC Driver for SQL Server
- Web Server (Apache/XAMPP, IIS, or Nginx)
- Git (Optional)
Clone the repository:
git clone https://github.com/itsshashanksp/Generic_SQL_API_Framework.gitNavigate to the project:
cd Generic_SQL_API_FrameworkEdit the database configuration file:
config/database.json
Example:
{
"server": "localhost\\SQLEXPRESS",
"database": "AdventureWorks",
"username": "sa",
"password": "YourPassword"
}If using XAMPP:
- Start Apache.
- Copy the project into the
htdocsdirectory. - Open your browser.
http://localhost/Generic_SQL_API_Framework/
Open the API endpoint:
/api/database/info
A successful response returns:
{
"success": true,
"server": "localhost\\SQLEXPRESS",
"database": "AdventureWorks"
}- Configure your SQL queries.
- Learn the JSON request format.
- Build your first API.
- Explore the documentation.
Continue with Quick Start to create your first API.