taa176 / web

Website. Welcome.
0 stars 0 forks source link

Replace the JSON database with a MySQL database #9

Closed zeumai closed 4 years ago

zeumai commented 4 years ago

User information is now stored in the server database, as is message data (i.e. message logs and associated chatrooms). Before running "server.js" for the first time, you will need to run "rebuild_db.js" in order to create the database. After that, you can simply run "server.js" whenever you want to use the site. User and message data will persist from session to session. If you'd like to clear this data, run "rebuild_db.js" again.