Search code examples
javascriptsqlitepugharp

SQLITE connection using Harp


i have a page which is in jade,i have a validation form in that page.I am using JavaScript to validate.i wanted to know can we connect to sqlite and extract those data's. thanking you in advance


Solution

  • Harp is a STATIC webserver. It is not intended to have any backend code to handle anything the user submits. The only things harp gives you is pre-processing when generating the page that is served.

    If you intend to build a dynamic web app and serve it using a static server such as Harp, you'll need to use a 3rd party 'Backend as a Service' offering such as GoInstant or Firebase.