Express Login System
This is a login system made with Express.
PixiGem
how can we store data? idk about repl DB, I understood the auth system, but how to add data to the account, like how do we add a variable, and only the person with the account can see that
for ex: there is a button, if u click that, a variable updates(int) of u refresh, the same number remains. but if u login with another account, the storage and the variable is completely different
pls help me :(
[deleted]
impressive
ParrotDev
Yeah really cool! Do you think you might add CSS?
ruiwenge2
@ParrotDev this is just a template so people who use it can add their own css
ParrotDev
@ruiwenge2 Oh that makes sense
codingjlu
Nice job!
ruiwenge2
@codingjlu thanks
body parser comes with express. you dont need to install it seperately. just change line 11 to
app.use(express.urlencoded({extended: true}));
and you cannpm uninstall body-parser