From 7c76d0fe3b76fd78e16d29c20562fc28caa5e1eb Mon Sep 17 00:00:00 2001 From: Demian Parkhomenko <95881717+DemianParkhomenko@users.noreply.github.com> Date: Fri, 19 Jan 2024 17:28:23 +0200 Subject: [PATCH] Add one more example --- application/api/example/data.js | 9 +++++++++ package.json | 1 + 2 files changed, 10 insertions(+) create mode 100644 application/api/example/data.js diff --git a/application/api/example/data.js b/application/api/example/data.js new file mode 100644 index 0000000..3f6208c --- /dev/null +++ b/application/api/example/data.js @@ -0,0 +1,9 @@ +({ + access: 'public', + + method: async () => { + return 'Hello world'; + }, + + returns: 'string', +}); diff --git a/package.json b/package.json index 4c7306a..11a5602 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ "node": "18 || 20" }, "scripts": { + "dev": "node server.js", "start": "node server.js", "test": "MODE=test node server.js", "eslint:check": "eslint .",