Skip to content

Commit

Permalink
HRIS-361 [Task] Implement PR Comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sun-asterisk authored and sun-asterisk committed Jun 11, 2024
1 parent 8de859f commit 5f0ec03
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,4 @@ HRIS is an internal project for the admin team of Sun Asterisk PH that aims to h
- Run `cp .env.api_v2.example .env.api_v2` to create a local env for NestJS
- In .env.api_v2, supply the blank fields with the necessary values
- Run `npm install` to install the dependencies
- Run `npm run start:dev` to run the app manually
- Run `npm run dev` to run the app manually
1 change: 0 additions & 1 deletion api_v2/.env..example

This file was deleted.

1 change: 1 addition & 0 deletions api_v2/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
JWT_SECRET_KEY=
2 changes: 1 addition & 1 deletion api_v2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ COPY . /usr/src/api_v2/

EXPOSE 3001

ENTRYPOINT ["npm", "run", "start:dev"]
ENTRYPOINT ["npm", "run", "dev"]
2 changes: 1 addition & 1 deletion api_v2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ $ npm install
$ npm run start

# watch mode
$ npm run start:dev
$ npm run dev

# production mode
$ npm run start:prod
Expand Down
4 changes: 2 additions & 2 deletions api_v2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"build": "nest build",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"start": "nest start",
"start:dev": "nest start --watch",
"start:debug": "nest start --debug --watch",
"dev": "nest start --watch",
"dev:debug": "nest start --debug --watch",
"start:prod": "node dist/main",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"test": "jest",
Expand Down
7 changes: 7 additions & 0 deletions api_v2/src/graphql/schema.gql
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# ------------------------------------------------------
# THIS FILE WAS AUTOMATICALLY GENERATED (DO NOT MODIFY)
# ------------------------------------------------------

type Query {
getHello: String!
}
12 changes: 8 additions & 4 deletions api_v2/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,14 @@
"baseUrl": "./",
"incremental": true,
"skipLibCheck": true,
"strictNullChecks": false,
"noImplicitAny": false,
"strictNullChecks": true,
"noImplicitAny": true,
"strictBindCallApply": false,
"forceConsistentCasingInFileNames": false,
"noFallthroughCasesInSwitch": false
}
"noFallthroughCasesInSwitch": false,
"noUnusedLocals": true,
"noUnusedParameters": true,
"paths": { "@/*": ["src/*"] }
},
"exclude": ["node_modules", "dist"]
}

0 comments on commit 5f0ec03

Please sign in to comment.