diff --git a/.example.env b/.example.env index c770031..ac0cab7 100644 --- a/.example.env +++ b/.example.env @@ -13,7 +13,7 @@ TYPEORM_TYPE = postgres TYPEORM_HOST = localhost TYPEORM_USERNAME = postgres TYPEORM_PASSWORD = postgres -TYPEORM_DATABASE = laccpass_verification_registry +TYPEORM_DATABASE = laccpass_chain_of_trust TYPEORM_PORT = 5432 TYPEORM_SYNCHRONIZE = false TYPEORM_LOGGING = true diff --git a/.example.env.test b/.example.env.test index 9989354..9149abb 100644 --- a/.example.env.test +++ b/.example.env.test @@ -13,7 +13,7 @@ TYPEORM_TYPE = postgres TYPEORM_HOST = localhost TYPEORM_USERNAME = postgres TYPEORM_PASSWORD = postgres -TYPEORM_DATABASE = laccpass_verification_registry +TYPEORM_DATABASE = laccpass_chain_of_trust TYPEORM_PORT = 5432 TYPEORM_SYNCHRONIZE = false TYPEORM_LOGGING = true diff --git a/Dockerfile.dev b/Dockerfile.dev index 1b72d47..e32a8d8 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -2,6 +2,7 @@ FROM node:16.20.0-alpine WORKDIR /app COPY ./package.json . +COPY ./yarn.lock . COPY tsconfig* ./ COPY ormconfig* ./ COPY src ./src diff --git a/Dockerfile.prod b/Dockerfile.prod index f5b6e9e..ca15e1d 100644 --- a/Dockerfile.prod +++ b/Dockerfile.prod @@ -9,6 +9,7 @@ FROM node:16.20.0-alpine AS production WORKDIR /app COPY --from=builder ./app/dist ./dist COPY package* ./ +COPY ./yarn.lock . COPY tsconfig* ./ COPY prod-paths* ./ COPY ormconfig* ./ diff --git a/README.md b/README.md index 34d72b8..adcd500 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# LACPass Verification Registry +# LACPass Chain Of Trust ## Getting Started diff --git a/docker-compose-dev.yml b/docker-compose-dev.yml index d0da768..fa3bf4b 100644 --- a/docker-compose-dev.yml +++ b/docker-compose-dev.yml @@ -39,7 +39,7 @@ services: ports: - '${EXPOSED_CONTAINER_SERVER_PORT}:${PORT}' restart: on-failure - container_name: laccpass-verification-registry + container_name: laccpass-chain-of-trust depends_on: - postgres - redis diff --git a/docker-compose.yml b/docker-compose.yml index 446fd6e..4d5ac87 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -44,7 +44,7 @@ services: ports: - '${EXPOSED_CONTAINER_SERVER_PORT}:${PORT}' restart: on-failure - container_name: laccpass-verification-registry + container_name: laccpass-chain-of-trust depends_on: - postgres - redis diff --git a/docker_postgres_init.sql b/docker_postgres_init.sql index 2099c85..ed22e7d 100644 --- a/docker_postgres_init.sql +++ b/docker_postgres_init.sql @@ -1,10 +1,10 @@ CREATE USER docker WITH PASSWORD 'password' CREATEDB; -CREATE DATABASE laccpass_verification_registry_development +CREATE DATABASE laccpass_chain_of_trust_development WITH OWNER = docker CONNECTION LIMIT = -1; -CREATE DATABASE laccpass_verification_registry +CREATE DATABASE laccpass_chain_of_trust WITH OWNER = docker CONNECTION LIMIT = -1; diff --git a/docs/tech/configuration.md b/docs/tech/configuration.md index 1470dbb..a4af278 100644 --- a/docs/tech/configuration.md +++ b/docs/tech/configuration.md @@ -1,4 +1,4 @@ -# LACPass Verification Registry +# LACPass Chain Of Trust This project includes the boilerplate for a basic rest-api made in Node.JS with Express + Typescript. diff --git a/package.json b/package.json index 8a66bd1..0ea399e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { - "name": "laccpass-verification-registry", + "name": "laccpass-chain-of-trust", "version": "0.0.1", - "description": "Rest api for laccpass Verification Registry", + "description": "Rest api for laccpass Chain Of Trust built on top of Lacchain", "license": "MIT", "scripts": { "dev": "yarn && nodemon --watch 'src/**/*.ts' --exec 'ENV=dev ts-node -r tsconfig-paths/register' src/server.ts", diff --git a/src/config/index.ts b/src/config/index.ts index 830e6d8..4f899cb 100644 --- a/src/config/index.ts +++ b/src/config/index.ts @@ -5,7 +5,7 @@ import { Log4TSProvider } from 'typescript-logging-log4ts-style'; config({ path: `.env.${process.env.ENV || 'dev'}` }); export const log4TSProvider = Log4TSProvider.createProvider( - 'Log4ProviderVerificationRegistry', + 'Log4ProviderChainOfTrust', { level: LogLevel.Debug, groups: [