DB2API is a tool designed to generate API structures from your PostgreSQL database. By providing basic connection details, the tool introspects your database, identifies tables, columns, relationships, and crafts a foundational API structure.
- Prompt-based setup: Easily configure your project and database details.
- Secure password handling: Encrypts database passwords for added security.
- Dynamic structure generation: Create API structures based on your database schema.
- Extensible templates: Modify and extend templates to match your desired API structure.
-
Clone this repository:
git clone <repository-url> -
Navigate to the project directory:
cd DB2API -
Install the required packages:
pip install -r requirements.txt
Run the main script:
python main.py
Follow the prompts to set up your project and connect to your database.
Contributions are welcome! Please read the contribution guidelines before making any changes.
This project is licensed under the MIT License - see the LICENSE file for details.