Skip to content

Commit b61f13f

Browse files
committed
setup auto deployment
1 parent 38265df commit b61f13f

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

Procfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
web: npm run start

README.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,3 @@ Test without watching
6464
$ npm run test
6565
```
6666

67-
Test and watch
68-
69-
```bash
70-
$ npm run test:watch
71-
```

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
"description": "There are not many working examples out there on how to use one of the alternatives to express js called 'Hapi Js' with typescript and effective setup for complex projects. This is a church office management REST api built with Hapi js, Typescript , Prisma ORM and Postgresql. It is an example of how to structure a hapi js REST Api project into models, routes, controllers and services for effective separation of concerns and unit testing.",
55
"scripts": {
66
"migrate-db": "npx prisma db push",
7+
"prebuild": "rimraf dist",
78
"build": "prisma generate && tsc",
89
"start": "node dist/server.js",
910
"dev": "ts-node-dev --respawn server.ts",
1011
"test": "TEST=true jest",
11-
"test:watch": "TEST=true jest --watch",
1212
"lint": "eslint src --ext .js,.jsx,.ts,.tsx",
1313
"prepare": "husky install"
1414
},

0 commit comments

Comments
 (0)