From fd0fafa68d638b729a506ba668165e29eea71a49 Mon Sep 17 00:00:00 2001 From: Mateja Date: Fri, 9 Jul 2021 17:13:23 +0200 Subject: Backend boilerplate code... --- server/controllers/example.js | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 server/controllers/example.js (limited to 'server/controllers') diff --git a/server/controllers/example.js b/server/controllers/example.js new file mode 100644 index 0000000..400bafc --- /dev/null +++ b/server/controllers/example.js @@ -0,0 +1,7 @@ +module.exports = { + index(req, res) { + res.json({ + status: "success" + }); + } +}; -- cgit v1.2.3