Skip to content

Adding server.js functionality and main operations for todos.js

Jesus Galaz Reyes requested to merge 3-set-up-server-and-api-routes into main

About 'server.js', is taking into account a function called 'connectDB()' that must be inside 'mongodb.js' (cause it´s imported this way) and contains the code for the connection to the database.

Closes #3 (closed)

Edited by Jesus Galaz Reyes

Merge request reports

Loading