Create a web server that serves all the assets of the application (HTML, CSS, JS). The server also connects to a MongoDB database to handle post submissions, registrations, and logins.
Refactor all files into proper folders and fix routes to be served by the server.
Description
Create a web server that serves all the assets of the application (HTML, CSS, JS). The server also connects to a MongoDB database to handle post submissions, registrations, and logins.
Refactor all files into proper folders and fix routes to be served by the server.