parent
8c40f30286
commit
486955a861
11 changed files with 20260 additions and 151 deletions
@ -0,0 +1,43 @@ |
||||
worker_processes 1; |
||||
|
||||
events { worker_connections 1024; } |
||||
|
||||
http { |
||||
# upstream client { |
||||
# server frontend:3000; |
||||
# } |
||||
|
||||
server { |
||||
listen 80; |
||||
error_log /var/log/nginx/error.log; |
||||
access_log /var/log/nginx/access.log; |
||||
client_max_body_size 10M; |
||||
index index.html; |
||||
root /var/www/html; |
||||
|
||||
location / { |
||||
try_files $uri $uri/ /index.html =404; |
||||
} |
||||
|
||||
location /api { |
||||
proxy_pass http://server:8000; |
||||
rewrite ^/api(.*)$ $1 break; |
||||
} |
||||
|
||||
location /cable { |
||||
proxy_pass http://server:8000; |
||||
proxy_http_version 1.1; |
||||
proxy_set_header Upgrade $http_upgrade; |
||||
proxy_set_header Connection "upgrade"; |
||||
# rewrite ^/cable(.*)$ $1 break; |
||||
} |
||||
|
||||
location /socksjs-node { |
||||
proxy_pass http://server:8000; |
||||
proxy_http_version 1.1; |
||||
proxy_set_header Upgrade $http_upgrade; |
||||
proxy_set_header Connection "upgrade"; |
||||
# rewrite ^/cable(.*)$ $1 break; |
||||
} |
||||
} |
||||
} |
File diff suppressed because it is too large
Load Diff
Before Width: | Height: | Size: 5.2 KiB |
Before Width: | Height: | Size: 9.4 KiB |
@ -1,12 +1,14 @@ |
||||
import { DataBuddy } from '@dank-inc/data-buddy' |
||||
import { User } from '../../types' |
||||
import { Account, Stack, Transaction, User } from '../../types' |
||||
|
||||
const userRecords: User[] = [ |
||||
export const users = new DataBuddy<User>([ |
||||
{ |
||||
id: '42', |
||||
name: 'TestUser42', |
||||
email: 'testuser@email.com', |
||||
}, |
||||
] |
||||
]) |
||||
|
||||
export const users = new DataBuddy(userRecords) |
||||
export const accounts = new DataBuddy<Account>([]) |
||||
export const stacks = new DataBuddy<Stack>([]) |
||||
export const transactions = new DataBuddy<Transaction>([]) |
||||
|
@ -1,50 +0,0 @@ |
||||
.ant-layout-header.app-header { |
||||
display: flex; |
||||
flex-direction: row; |
||||
justify-content: space-between; |
||||
vertical-align: middle; |
||||
padding: 0 1rem; |
||||
|
||||
a { |
||||
font-size: 1.2rem; |
||||
font-weight: bold; |
||||
} |
||||
|
||||
div { |
||||
display: flex; |
||||
vertical-align: middle; |
||||
height: 100%; |
||||
|
||||
* { |
||||
margin: auto 0.5rem; |
||||
} |
||||
} |
||||
|
||||
h3.ant-typography { |
||||
margin: auto 0 !important; |
||||
} |
||||
|
||||
div.ant-typography { |
||||
font-size: 1.6rem; |
||||
} |
||||
} |
||||
|
||||
.ant-layout.layout { |
||||
min-height: 100vh; |
||||
// background-color: #444; |
||||
// color: white; |
||||
} |
||||
|
||||
.ant-avatar { |
||||
display: flex; |
||||
|
||||
* { |
||||
margin: auto; |
||||
padding: 0; |
||||
} |
||||
} |
||||
|
||||
.ant-layout-content { |
||||
max-width: 900px; |
||||
margin: auto; |
||||
} |
Loading…
Reference in new issue