9
nurked
135d

SQL to JSON query runner

Project Type
Existing open source project
Summary

SQL to JSON query runner

Description
Help me Obi-Wan Kenobis, you are my only hope. I wrote this very small (23 lines of code) query runner. It converts SQL into JSON. Takes a second to deploy and you have your backend in a seconds. I need some help to add some security to it so it can understand JWT and other such stuff. I also need docs. It is super lightweight and can do miracles when you need a database very quick. See readme.
Tech Stack
php
Current Team Size
1
URL
Comments
  • 0
    you can migrate it with laravel and all security issues will be automatically fixed ^~^
  • 2
    @hypnos Man, 29 lines and no external dept's. I want to keep it like that
  • 1
    Dude what happened to the indentation
  • 0
    That's shits fucking insecure. How do you validate the data when you just do a direct request to the DB?
  • 1
    @Skayo Jeez, man! Easy.

    Data is on the server. The queries are on the server and those are parametrized queries, so I don't give a flying duck about the data. I can verify it in JS on the client side. If someone wants to ;--Drop something he can freely try to do so, won't work.

    But what I need is to keep this thing simple and useful at the same time.

    And BTW, indents went down the toilet cause I wanted to push everything in 23 lines of code 8-)
  • 0
    @nurked 40 clean lines > 23 dirty ones
Your Job Suck?
Get a Better Job
Add Comment