├── .devcontainer ├── Dockerfile ├── devcontainer.json └── docker-compose.yml ├── .env.sample ├── .eslintrc ├── .github.sample └── workflows │ └── main.yml ├── .gitignore ├── .husky ├── commit-msg ├── pre-commit └── prepare-commit-msg ├── Dockerfile ├── LICENSE ├── README.md ├── app.js ├── commitlint.config.js ├── export_openapi.js ├── package.json └── src ├── config.js ├── execute.js ├── init ├── api_doc.js ├── cache.js ├── const.js ├── database.js ├── express.js └── keypair.js ├── middleware ├── access.js ├── auth.js ├── cors.js ├── https_redirect.js ├── inspector.js ├── origin.js └── restrictor.js ├── routes ├── example.js ├── index.js └── swagger.js └── utils ├── native.js ├── sara_token.js ├── test_token.js └── visitor.js /.devcontainer/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-tech-tw/recv/HEAD/.devcontainer/Dockerfile -------------------------------------------------------------------------------- /.devcontainer/devcontainer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-tech-tw/recv/HEAD/.devcontainer/devcontainer.json -------------------------------------------------------------------------------- /.devcontainer/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-tech-tw/recv/HEAD/.devcontainer/docker-compose.yml -------------------------------------------------------------------------------- /.env.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-tech-tw/recv/HEAD/.env.sample -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-tech-tw/recv/HEAD/.eslintrc -------------------------------------------------------------------------------- /.github.sample/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-tech-tw/recv/HEAD/.github.sample/workflows/main.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-tech-tw/recv/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/commit-msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-tech-tw/recv/HEAD/.husky/commit-msg -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | . "$(dirname -- "$0")/_/husky.sh" 3 | 4 | npx lint-staged 5 | -------------------------------------------------------------------------------- /.husky/prepare-commit-msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-tech-tw/recv/HEAD/.husky/prepare-commit-msg -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-tech-tw/recv/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-tech-tw/recv/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-tech-tw/recv/HEAD/README.md -------------------------------------------------------------------------------- /app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-tech-tw/recv/HEAD/app.js -------------------------------------------------------------------------------- /commitlint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-tech-tw/recv/HEAD/commitlint.config.js -------------------------------------------------------------------------------- /export_openapi.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-tech-tw/recv/HEAD/export_openapi.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-tech-tw/recv/HEAD/package.json -------------------------------------------------------------------------------- /src/config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-tech-tw/recv/HEAD/src/config.js -------------------------------------------------------------------------------- /src/execute.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-tech-tw/recv/HEAD/src/execute.js -------------------------------------------------------------------------------- /src/init/api_doc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-tech-tw/recv/HEAD/src/init/api_doc.js -------------------------------------------------------------------------------- /src/init/cache.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-tech-tw/recv/HEAD/src/init/cache.js -------------------------------------------------------------------------------- /src/init/const.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-tech-tw/recv/HEAD/src/init/const.js -------------------------------------------------------------------------------- /src/init/database.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-tech-tw/recv/HEAD/src/init/database.js -------------------------------------------------------------------------------- /src/init/express.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-tech-tw/recv/HEAD/src/init/express.js -------------------------------------------------------------------------------- /src/init/keypair.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-tech-tw/recv/HEAD/src/init/keypair.js -------------------------------------------------------------------------------- /src/middleware/access.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-tech-tw/recv/HEAD/src/middleware/access.js -------------------------------------------------------------------------------- /src/middleware/auth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-tech-tw/recv/HEAD/src/middleware/auth.js -------------------------------------------------------------------------------- /src/middleware/cors.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-tech-tw/recv/HEAD/src/middleware/cors.js -------------------------------------------------------------------------------- /src/middleware/https_redirect.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-tech-tw/recv/HEAD/src/middleware/https_redirect.js -------------------------------------------------------------------------------- /src/middleware/inspector.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-tech-tw/recv/HEAD/src/middleware/inspector.js -------------------------------------------------------------------------------- /src/middleware/origin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-tech-tw/recv/HEAD/src/middleware/origin.js -------------------------------------------------------------------------------- /src/middleware/restrictor.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-tech-tw/recv/HEAD/src/middleware/restrictor.js -------------------------------------------------------------------------------- /src/routes/example.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-tech-tw/recv/HEAD/src/routes/example.js -------------------------------------------------------------------------------- /src/routes/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-tech-tw/recv/HEAD/src/routes/index.js -------------------------------------------------------------------------------- /src/routes/swagger.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-tech-tw/recv/HEAD/src/routes/swagger.js -------------------------------------------------------------------------------- /src/utils/native.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-tech-tw/recv/HEAD/src/utils/native.js -------------------------------------------------------------------------------- /src/utils/sara_token.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-tech-tw/recv/HEAD/src/utils/sara_token.js -------------------------------------------------------------------------------- /src/utils/test_token.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-tech-tw/recv/HEAD/src/utils/test_token.js -------------------------------------------------------------------------------- /src/utils/visitor.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/web-tech-tw/recv/HEAD/src/utils/visitor.js --------------------------------------------------------------------------------