Skip to content

Commit

Permalink
removed claim page and converted to single repo
Browse files Browse the repository at this point in the history
  • Loading branch information
jchartrand committed Mar 8, 2024
1 parent aa62606 commit a6e0249
Show file tree
Hide file tree
Showing 201 changed files with 102 additions and 25,095 deletions.
Binary file modified .DS_Store
Binary file not shown.
File renamed without changes.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ out
# Nuxt.js build / generate output
.nuxt
dist
build

# Gatsby files
.cache/
Expand Down Expand Up @@ -163,4 +164,7 @@ dist
# Ignore code-workspaces
*.code-workspace

# OSX
.DS_Store

# End of https://www.toptal.com/developers/gitignore/api/node,visualstudiocode
File renamed without changes.
File renamed without changes.
File renamed without changes.
13 changes: 7 additions & 6 deletions compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@ services:
ports:
- "4005:4005"
signing:
image: digitalcredentials/signing-service:0.1.0
image: digitalcredentials/signing-service:0.2.0
environment:
- TENANT_SEED_LEF_TEST=z1AeiPT496wWmo9BG2QYXeTusgFSZPNG3T9wNeTtjrQ3rCB
transactions:
image: digitalcredentials/transaction-service:test
image: digitalcredentials/transaction-service:0.1.0
payload:
image: digitalcredentials/dashboard:test
build:
context: .
dockerfile: Dockerfile.local
container_name: "ad-payload"
depends_on:
- coordinator
Expand All @@ -36,9 +38,9 @@ services:
ports:
- "3000:3000"
volumes:
- ./services/payload/src:/home/node/app/src
- ./src:/home/node/app/src
claim-page:
image: digitalcredentials/claim-page:test
image: digitalcredentials/admin-dashboard-claim-page:0.1.0
container_name: "ad-claim-page"
depends_on:
- payload
Expand All @@ -53,7 +55,6 @@ services:
- "6379:6379"
mongo:
image: mongo
restart: always
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: example
Expand Down
6 changes: 5 additions & 1 deletion docs/GETTING_STARTED.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@

### Short story

If you've got Docker installed then copy the [compose.yaml](./compose.yaml) file from this repo to somewhere on your machine and then run this command from the directory where you saved the file:
If you've got Docker installed then you can run the dashboard from docker hub images with this command:

```curl https://raw.githubusercontent.com/digitalcredentials/docs/jc-compose-files/deployment-guide/docker-compose-files/admin-dashboard-compose.yaml | docker compose -f - up```

Alternatively, if you've checked out this repository, and want to run the dashboard from the source code, you run (from the root directory of this repo):

```docker compose up```

Expand Down
Binary file removed image.png
Binary file not shown.
File renamed without changes.
76 changes: 59 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,65 @@
{
"name": "admin-dashboard",
"name": "@admindashboard/payload",
"description": "Admin dashboard project",
"version": "1.0.0",
"description": "",
"main": "index.js",
"keywords": [],
"author": "Taylor Beeston",
"license": "ISC",
"main": "dist/server.js",
"license": "MIT",
"scripts": {
"dev": "cross-env PAYLOAD_CONFIG_PATH=src/payload.config.ts nodemon",
"build:payload": "cross-env PAYLOAD_CONFIG_PATH=src/payload.config.ts payload build",
"typecheck": "tsc",
"build": "pnpm copyfiles && pnpm build:payload",
"serve": "cross-env PAYLOAD_CONFIG_PATH=dist/payload.config.js NODE_ENV=production node dist/server.js",
"copyfiles": "copyfiles -u 1 \"src/**/*.{html,css,scss,ttf,woff,woff2,eot,svg,jpg,png}\" dist/",
"generate:types": "cross-env PAYLOAD_CONFIG_PATH=src/payload.config.ts payload generate:types",
"generate:graphQLSchema": "cross-env PAYLOAD_CONFIG_PATH=src/payload.config.ts payload generate:graphQLSchema"
},
"dependencies": {
"@faceless-ui/modal": "^2.0.1",
"@faceless-ui/window-info": "^2.1.1",
"@radix-ui/react-accordion": "^1.1.2",
"better-error-message-for-json-parse": "^0.1.6",
"bullmq": "^4.9.0",
"class-variance-authority": "^0.7.0",
"clsx": "^2.0.0",
"cross-env": "^7.0.3",
"date-fns": "^2.30.0",
"deep-equal": "^2.2.2",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"handlebars": "^4.7.8",
"immer": "^10.0.3",
"jsonwebtoken": "^9.0.2",
"lucide-react": "^0.279.0",
"md5": "^2.3.0",
"object-to-formdata": "^4.5.1",
"papaparse": "^5.4.1",
"payload": "1.13.4",
"qs": "^6.11.2",
"react": "^18.2.0",
"react-flip-toolkit": "^7.1.0",
"react-i18next": "^13.2.2",
"react-router-dom": "^5.3.4",
"react-toastify": "^9.1.3",
"tailwind-merge": "^1.14.0",
"tailwindcss-animate": "^1.0.7",
"uuid": "^9.0.1",
"webpack-hot-middleware": "^2.25.4"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^6.6.0",
"@typescript-eslint/parser": "^6.6.0",
"eslint": "^8.48.0",
"eslint-config-airbnb-typescript": "^17.1.0",
"eslint-config-prettier": "^9.0.0",
"eslint-import-resolver-typescript": "^3.6.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-react": "^7.33.2",
"prettier": "^3.0.3",
"prettier-plugin-astro": "^0.12.0",
"@learncard/types": "^5.3.2",
"@types/express": "^4.17.9",
"@types/jsonwebtoken": "^9.0.2",
"@types/papaparse": "^5.3.9",
"@types/qs": "^6.9.8",
"@types/react": "^18.2.21",
"@types/react-router-dom": "^5.3.3",
"@types/uuid": "^9.0.4",
"copyfiles": "^2.4.1",
"nodemon": "^2.0.6",
"postcss": "^8.4.30",
"tailwindcss": "^3.0.24",
"ts-node": "^9.1.1",
"typescript": "^5.2.2"
}
}
3 changes: 0 additions & 3 deletions packages/claim-page/.dockerignore

This file was deleted.

1 change: 0 additions & 1 deletion packages/claim-page/.env.sample

This file was deleted.

21 changes: 0 additions & 21 deletions packages/claim-page/.gitignore

This file was deleted.

17 changes: 0 additions & 17 deletions packages/claim-page/.prettierrc.js

This file was deleted.

4 changes: 0 additions & 4 deletions packages/claim-page/.vscode/extensions.json

This file was deleted.

11 changes: 0 additions & 11 deletions packages/claim-page/.vscode/launch.json

This file was deleted.

12 changes: 0 additions & 12 deletions packages/claim-page/Dockerfile

This file was deleted.

87 changes: 0 additions & 87 deletions packages/claim-page/README.md

This file was deleted.

8 changes: 0 additions & 8 deletions packages/claim-page/astro.config.mjs

This file was deleted.

31 changes: 0 additions & 31 deletions packages/claim-page/nginx/nginx.conf

This file was deleted.

28 changes: 0 additions & 28 deletions packages/claim-page/package.json

This file was deleted.

9 changes: 0 additions & 9 deletions packages/claim-page/public/favicon.svg

This file was deleted.

Binary file removed packages/claim-page/public/logo.png
Binary file not shown.
Loading

0 comments on commit a6e0249

Please sign in to comment.