Canvas: Makefile

Change-Id: I448a36bf60ee33fb4691d5312ac69b32ec38ec14
diff --git a/apps/canvas/Makefile b/apps/canvas/Makefile
new file mode 100644
index 0000000..e06d29b
--- /dev/null
+++ b/apps/canvas/Makefile
@@ -0,0 +1,34 @@
+install:
+	npm install --prefix config/
+	npm install --prefix front/
+	npm install --prefix back/
+
+lint:
+	npm run lint --prefix config/
+	npm run lint --prefix front/
+	npm run lint --prefix back/
+
+format:
+	npm run format --prefix config/
+	npm run format --prefix front/
+	npm run format --prefix back/
+
+build: export DODO_VOLUME_DATA=/home/gio
+build:
+	npm run build --prefix config/
+	npm run build --prefix front/
+	npm run prisma-migrate --prefix back/
+	npm run build --prefix back/
+
+run: export DODO_PORT_WEB=8080
+run: export DODO_PORT_API=8081
+run: export DODO_VOLUME_DATA=/home/gio
+run: build
+	npm run start --prefix back/
+
+start: export DODO_PORT_WEB=8080
+start: export DODO_PORT_API=8081
+start: export DODO_VOLUME_DATA=/home/gio
+start:
+	npm run prisma-migrate --prefix back/
+	npm run start --prefix back/