I propose my version that is working with a mongo database.
I think we can do better with the nodejs achitecture ( I mean the server part), but this is working.
Just launch the "server.js" with node server.js
Then on your browser, go to http://localhost:8080/api/application
And if you go in the database, you can see the line correctly inserted.
I didn't have time to redirect the client to the index.html with the node rooting.
I propose my version that is working with a mongo database. I think we can do better with the nodejs achitecture ( I mean the server part), but this is working.
Just launch the "server.js" with
node server.js
Then on your browser, go tohttp://localhost:8080/api/application
And if you go in the database, you can see the line correctly inserted.I didn't have time to redirect the client to the index.html with the node rooting.