From 894cd8c2d5555b41df33d8649843e286d5342d53 Mon Sep 17 00:00:00 2001 From: KeziaWahome Date: Thu, 4 Jan 2024 02:02:19 +0200 Subject: [PATCH] Add Procfile for Heroku deployment --- Procfile | 1 + api/package.json | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 Procfile diff --git a/Procfile b/Procfile new file mode 100644 index 0000000..2be5f80 --- /dev/null +++ b/Procfile @@ -0,0 +1 @@ +web: yarn start diff --git a/api/package.json b/api/package.json index ddf25d9..ec306b3 100644 --- a/api/package.json +++ b/api/package.json @@ -13,7 +13,8 @@ "swagger-ui-express": "^5.0.0" }, "scripts": { - "generate-swagger": "swagger-jsdoc -d swagger.js -o swagger.json" + "generate-swagger": "swagger-jsdoc -d swagger.js -o swagger.json", + "start": "node server.js" }, "devDependencies": {}