API exemple avec collection MongoDB étudiants
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

10 lines
228 B

const express = require('express');
const app = express();
app.use((req, res, next) => {
res.status(200).json({
message: "C'est bon!"
}); // pour envoyer une json response 200
});
module.exports = app;