Hey Replit community,
I’m currently doing a project on web development, and for that purpose I need to store users’ information somewhere so it istn’t lost after the web session is ended. I did some research but couldn’t find any suitable database. Then I ran into Replit docs about the opportunity to import SQLite database or use Replit’s own integrated one right in repl, but this works only with SQL and Python. I need one to use with HTML/CSS/JS.
Is there any way to import a db into a local Python file and somehow transform data from JS or PHP (depending on method of getting users’ info) into the file? And if not, could you suggest any other way (preferably free and secure) to store this data?
You’ll need a backend if you want to use a database.
Alternatively, you can use local storage, but be aware only that user will be able to see their data, and they’re also able edit it in devtools.
Yes, you can’t use it because an HTML, CSS, JS Repl is frontend, not backend. You’d need something like Node.js or Python Flask or PHP or something as a backend.
There does seem to be a replit node.js client for the database
Another option might be to use Baserow.io, which has a good freemium offer and beautifully customised API documentation
I recommend Google Firebase (though this topic is pretty old)
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.