text-display/README.MD
2022-01-27 22:09:00 +01:00

722 B

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 and src/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