Skip to content
← Back to Community
How to save a variable to database
Profile icon
shoury2021

I don't know, how to save a variable to Replit's database in React.js, because I can't find anything helpful. (I'm making a website)

Voters
Profile icon
HanWei3
Profile icon
shoury2021
Comments
hotnewtop
Profile icon
Coder100

You need a backend in order to use this feature. Try learning node. It's just js so you can learn it fast,
https://replit.com/l/node

then use replit dB: https://docs.replit.com/misc/database

Profile icon
shoury2021

@Coder100
I'm good at node.js already, but can't you really do it on a website?