Skip to content

Commit

Permalink
verification service
Browse files Browse the repository at this point in the history
  • Loading branch information
jchartrand committed Nov 27, 2024
1 parent db8cec9 commit 4d9fa3d
Show file tree
Hide file tree
Showing 39 changed files with 1,614 additions and 301 deletions.
22 changes: 22 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
**/*.env
.git
.github
.husky
coverage
logs
# node_modules
.dockerignore
.editorconfig
.eslintrc.cjs
.gitignore
.lintstagedrc.json
.prettierignore
.prettierrc.js
compose-test.yaml
compose.yaml
compose-health-test.yaml
Dockerfile
README
server-dev-only.cert
server-dev-only.key
.env.healthcheck.testing
7 changes: 7 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
PORT=4009 # default port is 4009

# see the README for an explanation of logging
LOG_ALL_FILE=logs/all.log
ERROR_LOG_FILE=logs/error.log
CONSOLE_LOG_LEVEL=silly # default is silly, i.e. log everything - see the README for allowed levels
LOG_LEVEL=silly # default is silly
20 changes: 20 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
module.exports = {
overrides: [
{
files: ['*.js'],
extends: [
"eslint:recommended",
"plugin:prettier/recommended"
],
env: {
node: true,
mocha: true,
es6: true
},
parserOptions: {
ecmaVersion: 2022,
sourceType: "module"
}
}
]
}
19 changes: 0 additions & 19 deletions .eslintrc.js

This file was deleted.

24 changes: 9 additions & 15 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ yarn-debug.log*
yarn-error.log*
lerna-debug.log*

package-lock.json
yarn.lock

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

Expand All @@ -26,8 +23,7 @@ coverage
*.lcov

# nyc test coverage
/.nyc_output
/coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt
Expand All @@ -46,7 +42,7 @@ node_modules/
jspm_packages/

# TypeScript v1 declaration files
types/
typings/

# TypeScript cache
*.tsbuildinfo
Expand Down Expand Up @@ -84,6 +80,7 @@ types/

# Nuxt.js build / generate output
.nuxt
dist

# Gatsby files
.cache/
Expand All @@ -106,13 +103,10 @@ types/
# TernJS port file
.tern-port

# Editor files
*~
*.sw[nop]
/.vscode

# Output
dist
# vscode
.vscode

# MacOS
.DS_Store
compose-test.yaml
compose.yaml
compose-health-test.yaml
.env.healthcheck.testing
5 changes: 5 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
npm test
6 changes: 6 additions & 0 deletions .lintstagedrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"*.js": [
"prettier --write",
"eslint"
]
}
1 change: 0 additions & 1 deletion .npmrc

This file was deleted.

2 changes: 1 addition & 1 deletion .prettierrc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
export default {
trailingComma: 'none',
tabWidth: 2,
semi: false,
Expand Down
8 changes: 4 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# isomorphic-lib-template Changelog

## 1.0.0 - TBD
# verifier-service Changelog

## 0.1.0 - 2024-11-27
### Added
- first release

- Initial commit.
For previous history, see Git commits.
12 changes: 12 additions & 0 deletions Dockerfile.local
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#FROM node:20
#WORKDIR /app
#COPY . .
#RUN npm install
#CMD ["node", "server.js"]
#EXPOSE 4006

FROM node:20
WORKDIR /app
COPY . .
CMD ["node", "server.js"]
EXPOSE 4006
21 changes: 0 additions & 21 deletions LICENSE.md

This file was deleted.

Loading

0 comments on commit 4d9fa3d

Please sign in to comment.