Skip to content

Commit a133a0e

Browse files
committed
Merge branch 'main' of github.com:Apillon/nft-studio-simplet
2 parents 12429a8 + c95301d commit a133a0e

6 files changed

Lines changed: 51 additions & 17 deletions

File tree

backend/bin/docker-start.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#!/bin/sh
22
set -e
3-
printenv
43

54
# migrate DB
65
echo "Starting migration!"

backend/docker-compose.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,51 @@ services:
2727
retries: 10
2828
interval: 2s
2929

30+
nft_studio_app:
31+
image: apillonio/nft-studio:0.0.2
32+
container_name: nft_studio_app
33+
depends_on:
34+
nft_studio_db:
35+
condition: service_healthy
36+
ports:
37+
- '80:3001'
38+
expose:
39+
- '80'
40+
restart: always
41+
networks:
42+
- app-network
43+
environment:
44+
APP_ENV: ${APP_ENV}
45+
APP_SECRET: ${APP_SECRET}
46+
APP_URL: ${APP_URL}
47+
API_PORT: ${API_PORT}
48+
API_HOST: ${API_HOST}
49+
LOG_TARGET: ${LOG_TARGET}
50+
PAGE_DEFAULT_LIMIT: ${PAGE_DEFAULT_LIMIT}
51+
PAGE_MAX_LIMIT: ${PAGE_MAX_LIMIT}
52+
MYSQL_HOST: ${MYSQL_HOST}
53+
MYSQL_PORT: ${MYSQL_PORT}
54+
MYSQL_DATABASE: ${MYSQL_DATABASE}
55+
MYSQL_USER: ${MYSQL_USER}
56+
MYSQL_PASSWORD: ${MYSQL_PASSWORD}
57+
MYSQL_POOL: ${MYSQL_POOL}
58+
ADMIN_WALLET: ${ADMIN_WALLET}
59+
APILLON_KEY: ${APILLON_KEY}
60+
APILLON_API_URL: ${APILLON_API_URL}
61+
APILLON_SECRET: ${APILLON_SECRET}
62+
COLLECTION_UUID: ${COLLECTION_UUID}
63+
MAX_SUPPLY: ${MAX_SUPPLY}
64+
SMTP_HOST: ${SMTP_HOST}
65+
SMTP_PORT: ${SMTP_PORT}
66+
SMTP_USERNAME: ${SMTP_USERNAME}
67+
SMTP_PASSWORD: ${SMTP_PASSWORD}
68+
SMTP_EMAIL_FROM: ${SMTP_EMAIL_FROM}
69+
SMTP_NAME_FROM: ${SMTP_NAME_FROM}
70+
SMTP_EMAIL_FROM_HELLO: ${SMTP_EMAIL_FROM_HELLO}
71+
CAPTCHA_SECRET: ${CAPTCHA_SECRET}
72+
CLAIM_EXPIRES_IN: ${CLAIM_EXPIRES_IN}
73+
CLAIM_START: ${CLAIM_START}
74+
3075
nft_studio_mail:
3176
image: bytemark/smtp
3277
container_name: nft_studio_mail

backend/package-lock.json

Lines changed: 4 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

backend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"license": "ISC",
2323
"description": "",
2424
"dependencies": {
25-
"@apillon/sdk": "^3.10.0",
25+
"@apillon/sdk": "^3.12.0",
2626
"@rawmodel/core": "^3.3.4",
2727
"@rawmodel/parsers": "^3.3.4",
2828
"@rawmodel/validators": "^3.3.4",

backend/src/lib/migrations.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,6 @@ export async function dropDatabase() {
4040
}
4141

4242
async function initMigrations() {
43-
console.log({
44-
host: process.env.MYSQL_HOST,
45-
port: parseInt(process.env.MYSQL_PORT),
46-
user: process.env.MYSQL_USER,
47-
password: process.env.MYSQL_PASSWORD,
48-
database: process.env.MYSQL_DATABASE,
49-
// debug: true,
50-
connectionLimit: 1,
51-
});
5243
const poolConfig: ConnectionOptions = {
5344
host: process.env.MYSQL_HOST,
5445
port: parseInt(process.env.MYSQL_PORT),

frontend/components/parts/FreeMint.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div>
33
<div class="flex justify-between items-center gap-8">
44
<div class="max-w-4xl lg:pr-10">
5-
<h6 class="mb-2 text-xs">NFT Event Experience</h6>
5+
<h6 class="mb-2 text-xs">NFT Wild West</h6>
66
<h1 class="mb-4">Dashboard</h1>
77
<div>
88
Allow anybody to mint an NFT from your collection through the claim page below. Users can connect their

0 commit comments

Comments
 (0)