Skip to content

Commit

Permalink
Deploying to gh-pages from @ d1e6193 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
olimsaidov committed Nov 18, 2024
1 parent 888ed33 commit 149f8e2
Show file tree
Hide file tree
Showing 48 changed files with 14,745 additions and 0 deletions.
18 changes: 18 additions & 0 deletions aidbox-forms-smart-launch-2/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
PGIMAGE=healthsamurai/aidboxdb:17
PGHOSTPORT=5430
PGUSER=postgres
PGPASSWORD=postgres
PGDATABASE=aidbox

AIDBOX_IMAGE=healthsamurai/aidboxone:edge
AIDBOX_LICENSE=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJvZmZsaW5lIjpmYWxzZSwia2V5Ijoib25saW5lLTIwMjIwNTI0LTE0MzY0NyIsIm5hbWUiOiJzYW5zYXJhLWRldi11c2VyIiwiZXhwaXJhdGlvbiI6IjIwMjMtMDYtMTZUMTA6Mzg6NDAuNDA5WiIsInR5cGUiOiJkZXZlbG9wbWVudCIsImNyZWF0ZWQiOiIyMDIyLTA2LTE2VDEwOjM4OjQwLjQxMFoiLCJwcm9kdWN0IjoiYWlkYm94IiwicHJvamVjdCI6eyJpZCI6IjdmMDM3ZTQ4LWJjZTQtNDZkOC1iNTQ3LTU2OTNmYzk1NmUxZCIsInJlc291cmNlVHlwZSI6IlByb2plY3QifSwic3RhdHVzIjoiYWN0aXZlIiwiaWQiOiJiZThlYTBjZC1jYzVhLTRlZmQtYTU1Zi00MzMyM2U4NTdhOTQiLCJpbmZvIjp7ImdvYWwiOiJkZXZlbG9wbWVudCIsImhvc3RpbmciOiJvbi1wcmVtaXNlcyIsImNvbW1lbnRzIjoiTGljZW5zZSB1c2VkIGZvciBsb2NhbCBkZXZlbG9wbWVudCBvZiBTYW5zYXJhKGFpZGJveCkgcHJvamVjdC4ifSwiaXNzdWVyIjoiaHR0cHM6Ly9haWRib3guYXBwIn0.ZTZ0csC6yK4FhLZ50W-k1og8YczJrnjeTni3lgyCvCEPg9yNngrENOkIknBd5aP490nJzytyP3Xj7bkPmS4-XLD2n37bD8TQNjcchA3AoKJEA3FdLWth4jsQ3NWw5nKdphqYgG-pkNC24nRuhQ64IN8rAAMPCfl1x6-pnYz5v40
AIDBOX_PORT=8888
AIDBOX_FHIR_VERSION=4.0.1
AIDBOX_STDOUT_PRETTY=all
AIDBOX_BASE_URL=http://localhost:8888
AIDBOX_CLIENT_ID=client
AIDBOX_CLIENT_SECRET=password
AIDBOX_ADMIN_ID=admin
AIDBOX_ADMIN_PASSWORD=password

SESSION_PASSWORD=mNoL3JlYWR5Iiwic2NvcGUiOiIgbGF1bmNoIiwicGtjZSI6ImF1dG8iLCJjbGllbnRfdH
3 changes: 3 additions & 0 deletions aidbox-forms-smart-launch-2/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": ["next/core-web-vitals", "next/typescript"]
}
42 changes: 42 additions & 0 deletions aidbox-forms-smart-launch-2/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/versions

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# env files (can opt-in for committing if needed)
.env*
!/.env.example

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts
/pgdata
31 changes: 31 additions & 0 deletions aidbox-forms-smart-launch-2/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
This is a Aidbox Forms Smart Launch project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app).

## Development

First, copy `.env.example` to `.env` and set the correct values:

```bash
cp .env.example .env
```

Then, start aidbox server:

```bash
docker-compose up -d
```

Install dependencies:

```bash
pnpm install
```

Then, run the development server:

```bash
npm run dev
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

Aidbox server will be available at [http://localhost:8888](http://localhost:8888).
21 changes: 21 additions & 0 deletions aidbox-forms-smart-launch-2/components.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"$schema": "https://ui.shadcn.com/schema.json",
"style": "new-york",
"rsc": true,
"tsx": true,
"tailwind": {
"config": "tailwind.config.ts",
"css": "src/app/globals.css",
"baseColor": "zinc",
"cssVariables": true,
"prefix": ""
},
"aliases": {
"components": "@/components",
"utils": "@/lib/utils",
"ui": "@/components/ui",
"lib": "@/lib",
"hooks": "@/hooks"
},
"iconLibrary": "lucide"
}
24 changes: 24 additions & 0 deletions aidbox-forms-smart-launch-2/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
services:
postgres:
image: "${PGIMAGE}"
pull_policy: always
ports:
- "${PGHOSTPORT}:5432"
volumes:
- "./pgdata:/data"
environment:
POSTGRES_USER: "${PGUSER}"
POSTGRES_PASSWORD: "${PGPASSWORD}"
POSTGRES_DB: "${PGDATABASE}"

aidbox:
image: "${AIDBOX_IMAGE}"
pull_policy: always
depends_on: ["postgres"]
ports:
- "${AIDBOX_PORT}:${AIDBOX_PORT}"
env_file:
- .env
environment:
PGPORT: 5432
PGHOST: postgres
11 changes: 11 additions & 0 deletions aidbox-forms-smart-launch-2/next.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import type { NextConfig } from "next";
import { version } from "./package.json";

const nextConfig: NextConfig = {
env: {
NEXT_PUBLIC_VERSION: version,
},
/* config options here */
};

export default nextConfig;
42 changes: 42 additions & 0 deletions aidbox-forms-smart-launch-2/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"name": "aidbox-forms-smart-launch-2",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev --turbopack",
"build": "next build",
"start": "next start",
"lint": "next lint"
},
"dependencies": {
"@radix-ui/react-dialog": "^1.1.2",
"@radix-ui/react-select": "^2.1.2",
"@radix-ui/react-separator": "^1.1.0",
"@radix-ui/react-slot": "^1.1.0",
"@radix-ui/react-tooltip": "^1.1.4",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"cookies-next": "^5.0.2",
"fhirclient": "^2.5.4",
"iron-session": "^8.0.4",
"ky": "^1.7.2",
"lucide-react": "^0.460.0",
"next": "15.0.3",
"react": "19.0.0-rc-66855b96-20241106",
"react-dom": "19.0.0-rc-66855b96-20241106",
"tailwind-merge": "^2.5.4",
"tailwindcss-animate": "^1.0.7"
},
"devDependencies": {
"@monaco-editor/react": "^4.6.0",
"@types/fhir": "^0.0.41",
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
"eslint": "^8",
"eslint-config-next": "15.0.3",
"postcss": "^8",
"tailwindcss": "^3.4.1",
"typescript": "^5"
}
}
Loading

0 comments on commit 149f8e2

Please sign in to comment.