Compare commits

...

1 Commits
main ... ai-dev

Author SHA1 Message Date
Flatlogic Bot
d3db1b20e8 Auto commit: 2026-03-24T00:26:31.207Z 2026-03-24 00:26:31 +00:00
6 changed files with 54 additions and 41 deletions

0
.perm_test_apache Normal file
View File

0
.perm_test_exec Normal file
View File

17
db/config.php Normal file
View File

@ -0,0 +1,17 @@
<?php
// Generated by setup_mariadb_project.sh — edit as needed.
define('DB_HOST', '127.0.0.1');
define('DB_NAME', 'app_39285');
define('DB_USER', 'app_39285');
define('DB_PASS', 'b8f2bb81-b97b-438a-99d6-1e1a4162f32a');
function db() {
static $pdo;
if (!$pdo) {
$pdo = new PDO('mysql:host='.DB_HOST.';dbname='.DB_NAME.';charset=utf8mb4', DB_USER, DB_PASS, [
PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION,
PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC,
]);
}
return $pdo;
}

35
db/schema.sql Normal file
View File

@ -0,0 +1,35 @@
-- Database schema for Iron and Vines application
-- Target database: app_39285
CREATE TABLE IF NOT EXISTS members (
id VARCHAR(36) PRIMARY KEY,
name VARCHAR(255) NOT NULL,
city VARCHAR(255),
moto VARCHAR(255),
photo VARCHAR(255),
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);
CREATE TABLE IF NOT EXISTS sponsors (
id VARCHAR(36) PRIMARY KEY,
name VARCHAR(255) NOT NULL,
logo VARCHAR(255),
link VARCHAR(255),
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);
CREATE TABLE IF NOT EXISTS gallery (
id VARCHAR(36) PRIMARY KEY,
url VARCHAR(255) NOT NULL,
description TEXT,
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);
CREATE TABLE IF NOT EXISTS events (
id VARCHAR(36) PRIMARY KEY,
title VARCHAR(255) NOT NULL,
date DATE NOT NULL,
location VARCHAR(255),
description TEXT,
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);

View File

@ -2962,9 +2962,6 @@
"arm"
],
"dev": true,
"libc": [
"glibc"
],
"license": "MIT",
"optional": true,
"os": [
@ -2979,9 +2976,6 @@
"arm"
],
"dev": true,
"libc": [
"musl"
],
"license": "MIT",
"optional": true,
"os": [
@ -2996,9 +2990,6 @@
"arm64"
],
"dev": true,
"libc": [
"glibc"
],
"license": "MIT",
"optional": true,
"os": [
@ -3013,9 +3004,6 @@
"arm64"
],
"dev": true,
"libc": [
"musl"
],
"license": "MIT",
"optional": true,
"os": [
@ -3030,9 +3018,6 @@
"loong64"
],
"dev": true,
"libc": [
"glibc"
],
"license": "MIT",
"optional": true,
"os": [
@ -3047,9 +3032,6 @@
"loong64"
],
"dev": true,
"libc": [
"musl"
],
"license": "MIT",
"optional": true,
"os": [
@ -3064,9 +3046,6 @@
"ppc64"
],
"dev": true,
"libc": [
"glibc"
],
"license": "MIT",
"optional": true,
"os": [
@ -3081,9 +3060,6 @@
"ppc64"
],
"dev": true,
"libc": [
"musl"
],
"license": "MIT",
"optional": true,
"os": [
@ -3098,9 +3074,6 @@
"riscv64"
],
"dev": true,
"libc": [
"glibc"
],
"license": "MIT",
"optional": true,
"os": [
@ -3115,9 +3088,6 @@
"riscv64"
],
"dev": true,
"libc": [
"musl"
],
"license": "MIT",
"optional": true,
"os": [
@ -3132,9 +3102,6 @@
"s390x"
],
"dev": true,
"libc": [
"glibc"
],
"license": "MIT",
"optional": true,
"os": [
@ -3149,9 +3116,6 @@
"x64"
],
"dev": true,
"libc": [
"glibc"
],
"license": "MIT",
"optional": true,
"os": [
@ -3166,9 +3130,6 @@
"x64"
],
"dev": true,
"libc": [
"musl"
],
"license": "MIT",
"optional": true,
"os": [

View File

@ -6,8 +6,8 @@ import { componentTagger } from "lovable-tagger";
// https://vitejs.dev/config/
export default defineConfig(({ mode }) => ({
server: {
host: "::",
port: 8080,
host: "0.0.0.0", allowedHosts: [".dev.flatlogic.app", "localhost", "127.0.0.1"],
port: 3001,
hmr: {
overlay: false,
},