Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
144f15e
structure proyect & class entities & route.http
r4kogama Jul 22, 2024
29fff7f
create task service & repository interface
r4kogama Jul 23, 2024
8260e1b
commonjs to ecma6
r4kogama Jul 23, 2024
3c358ca
create adapter manage task implement interface methods
r4kogama Jul 23, 2024
ae7c536
injection dependency control
r4kogama Jul 23, 2024
4bd4d32
routes express http
r4kogama Jul 23, 2024
9c13600
create logic test route http in process
r4kogama Jul 23, 2024
478804b
create routes api rest http
r4kogama Jul 23, 2024
ea7229d
test api rest in jest done
r4kogama Jul 24, 2024
5d50c25
middelware authorization done
r4kogama Jul 24, 2024
222de72
git hub actions create
r4kogama Jul 24, 2024
3821f93
git hub actions create
r4kogama Jul 24, 2024
0bca669
git hub actions create
r4kogama Jul 24, 2024
a68e01c
git hub actions create
r4kogama Jul 24, 2024
aa5d166
git hub actions create
r4kogama Jul 24, 2024
ecd1720
git hub actions create
r4kogama Jul 24, 2024
c924d0f
git hub actions create
r4kogama Jul 24, 2024
68a54a4
git hub actions create
r4kogama Jul 24, 2024
8316c01
git hub actions create
r4kogama Jul 24, 2024
77e6a14
middelware for incorrect route http & middelware async handler express
r4kogama Jul 26, 2024
12e2b47
middelware for incorrect route http & fixed asynchrony errors with mi…
r4kogama Jul 26, 2024
dda8843
middelware for incorrect route http & fixed asynchrony errors with mi…
r4kogama Jul 26, 2024
6aa9530
middelware for incorrect route http & fixed asynchrony errors with mi…
r4kogama Jul 26, 2024
06d529c
Improved jest tests, fixed bugs and added an id to the note and a jso…
r4kogama Jul 27, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules
dist
coverage
9 changes: 8 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
"parserOptions": {
"project": ["./tsconfig.json"]
},
"plugins": [
"@typescript-eslint",
"prettier"
],
"rules": {
"@typescript-eslint/no-non-null-assertion": "off",
"no-console": "warn",
Expand All @@ -15,7 +19,10 @@
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-unsafe-call": "off",
"@typescript-eslint/no-unsafe-member-access": "off",
"@typescript-eslint/no-floating-promises": "off"
"@typescript-eslint/no-floating-promises": "off",
"padding-line-between-statements": "off",
"simple-import-sort/imports": "off",
"prettier/prettier": ["error", { "tabWidth": 2, "useTabs": false, "endOfLine": "auto" }]
},
"overrides": [
{
Expand Down
32 changes: 16 additions & 16 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,24 @@
name: 🏠 Build
name: 🏠 Node REST Service

on:
push:
branches: [master]
pull_request:
branches: [master]
types: [opened, synchronize]

jobs:
build:
runs-on: ubuntu-latest
name: 🏠 Build
steps:
- name: 🧹 Cancel previus redundant builds
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}

steps:
- name: 👍 Checkout
uses: actions/checkout@v2
uses: actions/checkout@v1

- name: ⚙️ Use Node.js 16.x
uses: actions/setup-node@v2
- name: ⚙️ Use Node.js 20
uses: actions/setup-node@v1
with:
node-version: '16.x'
node-version: 20

- name: 📥 Install Dependencies
run: npm ci
run: npm install

- name: 🏠 Build
run: npm run build
Expand All @@ -38,4 +30,12 @@ jobs:
run: npm run lint:fix

- name: ✅ Test
run: npm run test
run: npm run test

- name: compilation Typescript
uses: icrawl/action-tsc@v1
if: success()

- name: Exit on Test Failure
run: exit 1
if: failure()
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules
dist
env
11 changes: 11 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"singleQuote": true,
"trailingComma": "es5",
"printWidth": 100,
"tabWidth": 2,
"useTabs": false,
"rules": {
"prettier/prettier": "off",
"simple-import-sort/imports": "off"
}
}
Loading