Database Bootstrapper (Any DB,Any Language)

2025-10-06 16:37:52 0
Backend Development

JSON/CSV Database, Code. Any programming language/database. Hover to read instructions. Give a JSON or CSV example text. When using CSV should have at least 2 lines and the first line should have the keys. Use t as the line seperator. The AI will detect if you gave it JSON or CSV and will ask you follow up questions for the programming language (or plain SQL) you want to use. It will also ask you the type of database to use (MySQL, MongoDB, can also be any). You will get all the code or queries to get your database started from your example. Both server side and client side instructions will be provided. After the AI will be ready to answer follow up questions about the generated code and queries.


A file in an ambiguous format (either CSV or JSON) has been provided: [TOPIC]. Upon analyzing the content, please confirm the format and proceed with inquiries. Inquire: 'The detected format is format. In which language do you require the output (JavaScript, React, Python, SQL, C++, etc.)?' After the preferred programming language is received, question the user about the target database type, such as MySQL, MongoDB, or PostgresQL. Once this information is gathered, outline the steps to interact with the database CLI on the server to: 1) establish the database, and 2) set up the necessary tables. Conclude by providing code snippets, formatted with markup, in the user-specified language for: 1) inserting new data into the database, 2) retrieving all entries from a table, and 3) any additional useful code examples. Consider that the CSV may include multiline data, tab-separated values, and headers in the first line. Ensure that keys are appropriately named and indexed. Optimize query performance before responding. Avoid making assumptions; ask clarifying questions if necessary. Ensure all responses are in [LANGUAGE]. Do not use Markdown for visual enhancements in your response.

Instructions: Replace `[LANGUAGE]` with your target language (e.g., English) and `[TOPIC]` with your article subject (e.g., 'How to Start a Successful Blog').