Updated husky and install for prettier
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Sambo Chea 2021-09-13 20:28:43 +07:00
parent ce813262c3
commit e0f16081b0
3 changed files with 25 additions and 15 deletions

View File

@ -1,23 +1,30 @@
# Express Nodejs App # Express Nodejs App
- Nodejs
- Express
- TypeScript
- Prettier
- ESLint
- Docker
- DroneCI
- Lerna Support
# Quick Start - Nodejs
- Start - Express
- TypeScript
- Prettier
- ESLint
- Docker
- DroneCI
- Lerna Support
# Quickstart
- Start
```shell ```shell
yarn start yarn start
``` ```
- Navigate
- Navigate
```shell ```shell
curl http://localhost:3000 curl http://localhost:3000
``` ```
- Response
- Response
```json ```json
{ {
"startedAt": "2021-09-13T13:21:04.184Z", "startedAt": "2021-09-13T13:21:04.184Z",
@ -25,5 +32,7 @@ curl http://localhost:3000
"status": "OK" "status": "OK"
} }
``` ```
### Contributors ### Contributors
- Sambo Chea <sombochea@cubetiqs.com>
- Sambo Chea <sombochea@cubetiqs.com>

View File

@ -9,7 +9,8 @@
"build": "rm -rf dist && tsc", "build": "rm -rf dist && tsc",
"serve": "yarn run build && node dist/app.js", "serve": "yarn run build && node dist/app.js",
"bootstrap": "lerna bootstrap", "bootstrap": "lerna bootstrap",
"test": "echo \"Error: no test specified\" && exit 1" "test": "echo \"Error: no test specified\" && exit 1",
"prepare": "husky install"
}, },
"repository": { "repository": {
"type": "git", "type": "git",