text displaying website with authentication in rust and javascript with Mongodb
dist | ||
src | ||
.gitignore | ||
package.json | ||
README.MD | ||
tailwind.config.js |
Text-display :)
havn't throught of any better name sooo...
making it working :
- download nodejs
- download or setup on cloud a mongodb database
- add to mongodb an entry: (will be making a proper way to do it in the future maybe not so shure)
{
"_id": {
"$oid": "id generated uhm google it"
},
"name": "Username",
"pass": "Password",
"text": "text"
}
- change http://localhost:3000 to your url and stuff in :
src/index.js:49:12
andsrc/index.js:49:31
src/text.js:7:19
to your username (need to access mongodb)src/public/getText.js:13:60
src/public/main.js:13:65
src/config/db.config.js:5:17
link to your mongodb database url
npm i
npm start