Ask coding questions

← Back to all posts
How do you insert SQLite3 to my website?
Korbindev (134)

I was wondering how I can insert SQLite3 in my html5 website. can someone please show me how to do it. Thanks!

Comments
hotnewtop
EpicGamer007 (1736)

You cant do it in html. You need a server with a backend.

EpicGamer007 (1736)

@KorbinVanette setup a webserver. then create an api for that webserver which from your frontend, you send data to the api which the backend then handles

Korbindev (134)

can you help me with that I just started [email protected]

EpicGamer007 (1736)

@KorbinVanette uhh sure i guess. Invite me to a bash/nodejs repl and I will join

Korbindev (134)

i dont know how to do that can you make one and add [email protected]

EpicGamer007 (1736)

@KorbinVanette im sorry, i forgot until now but sqlite3 wont work on replit. sqlite3 is a file type and file changes do not persist in replit so theres no point in setting up a sqlite3 db. A better option would be replitdb, mongo, firebase, etc.

Korbindev (134)

no problem could oyu help me make one of [email protected]

EpicGamer007 (1736)

@KorbinVanette sure I will join the repl you sent and setup replitdb

EpicGamer007 (1736)

@KorbinVanette I pinged you in it. its the repl you invited me to yesterday