Ask coding questions

← Back to all posts
How to save a variable to database
shoury2021 (2)

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)

Comments
hotnewtop
Coder100 (18175)

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

shoury2021 (2)

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