aboutsummaryrefslogtreecommitdiff
path: root/server/controllers
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2021-07-09 17:13:23 +0200
committerMateja <mail@matejamaric.com>2021-07-09 17:13:23 +0200
commitfd0fafa68d638b729a506ba668165e29eea71a49 (patch)
tree0e857d875f5a534bfa19887d1581806beaa65cb7 /server/controllers
parent5a55212b17e203c62112214b97c00f0974d3029d (diff)
downloadmevn-ecommerce-fd0fafa68d638b729a506ba668165e29eea71a49.tar.gz
mevn-ecommerce-fd0fafa68d638b729a506ba668165e29eea71a49.zip
Backend boilerplate code...
Diffstat (limited to 'server/controllers')
-rw-r--r--server/controllers/example.js7
1 files changed, 7 insertions, 0 deletions
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"
+ });
+ }
+};