max14
max14
TTCTheo's Typesafe Cult
Created by Bogdan on 10/17/2023 in #questions
Has anyone hosted Next 13 app router project on Azure
sorry I've been away since Thursday
22 replies
TTCTheo's Typesafe Cult
Created by Bogdan on 10/17/2023 in #questions
Has anyone hosted Next 13 app router project on Azure
let me DM you
22 replies
TTCTheo's Typesafe Cult
Created by max14 on 10/18/2023 in #questions
Clerk Auth with Drizzle relations
hey, thanks for replying, with give this a read over after work!
6 replies
TTCTheo's Typesafe Cult
Created by Bogdan on 10/17/2023 in #questions
Has anyone hosted Next 13 app router project on Azure
I say give it a try anyways
22 replies
TTCTheo's Typesafe Cult
Created by Bogdan on 10/17/2023 in #questions
Has anyone hosted Next 13 app router project on Azure
or any at all tbf
22 replies
TTCTheo's Typesafe Cult
Created by Bogdan on 10/17/2023 in #questions
Has anyone hosted Next 13 app router project on Azure
yeh Im not using RSC, but shouldn’t make much difference
22 replies
TTCTheo's Typesafe Cult
Created by Xaohs on 10/17/2023 in #questions
Render either a Sheet, or a Dialog in a streamlined way with Shadcn/ui?
he renders a sheet for mobile and something else for normal (can’t remember)
18 replies
TTCTheo's Typesafe Cult
Created by Xaohs on 10/17/2023 in #questions
Render either a Sheet, or a Dialog in a streamlined way with Shadcn/ui?
I think if you look at the Skateshop website (by shadcn) his way seems fine, I know what you said earlier but his implementation is pretty solid
18 replies
TTCTheo's Typesafe Cult
Created by silva 🍍 on 10/18/2023 in #questions
Ubuntu and T3App
just the normal way, if you follow the documentation (the installation part) using NPM then it should work fine
8 replies
TTCTheo's Typesafe Cult
Created by Bogdan on 10/17/2023 in #questions
Has anyone hosted Next 13 app router project on Azure
as I don’t have my work laptop on me
22 replies
TTCTheo's Typesafe Cult
Created by Bogdan on 10/17/2023 in #questions
Has anyone hosted Next 13 app router project on Azure
I’ll have to send the config for u to try out tomorrow
22 replies
TTCTheo's Typesafe Cult
Created by Bogdan on 10/17/2023 in #questions
Has anyone hosted Next 13 app router project on Azure
I host my pages router next 13 app (for work) it’s very fiddly but I got it working in the end, I use an app service (not static app service)
22 replies
TTCTheo's Typesafe Cult
Created by max14 on 10/18/2023 in #questions
Clerk Auth with Drizzle relations
please also criticise my schema if theres anything dumb
6 replies
TTCTheo's Typesafe Cult
Created by max14 on 10/18/2023 in #questions
Clerk Auth with Drizzle relations
thats my drizzle schema so far (have literally just started again)
6 replies
TTCTheo's Typesafe Cult
Created by max14 on 10/18/2023 in #questions
Clerk Auth with Drizzle relations
export const recipes = mysqlTable(
"recipe",
{
id: bigint("id", { mode: "number" }).primaryKey().autoincrement(),
title: varchar("title", { length: 256 }).notNull(),
description: varchar("description", { length: 512 }),
ingredients: varchar("ingredients", { length: 1024 }).notNull(),
steps: varchar("steps", { length: 1024 }).notNull(),
image: varchar("image", { length: 256 }),
userId: varchar("userId", { length: 256 }).notNull(),
username: varchar("username", { length: 256 }).notNull(),
published: boolean("published").default(false),
public: boolean("public").default(true),
slug: varchar("slug", { length: 256 }).notNull(),
createdAt: timestamp("created_at")
.default(sql`CURRENT_TIMESTAMP`)
.notNull(),
updatedAt: timestamp("updatedAt").onUpdateNow(),
},
(recipe) => ({
titleIndex: index("title_idx").on(recipe.title),
}),
);
export const recipes = mysqlTable(
"recipe",
{
id: bigint("id", { mode: "number" }).primaryKey().autoincrement(),
title: varchar("title", { length: 256 }).notNull(),
description: varchar("description", { length: 512 }),
ingredients: varchar("ingredients", { length: 1024 }).notNull(),
steps: varchar("steps", { length: 1024 }).notNull(),
image: varchar("image", { length: 256 }),
userId: varchar("userId", { length: 256 }).notNull(),
username: varchar("username", { length: 256 }).notNull(),
published: boolean("published").default(false),
public: boolean("public").default(true),
slug: varchar("slug", { length: 256 }).notNull(),
createdAt: timestamp("created_at")
.default(sql`CURRENT_TIMESTAMP`)
.notNull(),
updatedAt: timestamp("updatedAt").onUpdateNow(),
},
(recipe) => ({
titleIndex: index("title_idx").on(recipe.title),
}),
);
6 replies
TTCTheo's Typesafe Cult
Created by max14 on 9/27/2023 in #questions
ShadCn Styling / Functionality Issue
I think I'll leave it like that for the time being, but yeh you're right
22 replies
TTCTheo's Typesafe Cult
Created by max14 on 9/27/2023 in #questions
ShadCn Styling / Functionality Issue
will do
22 replies
TTCTheo's Typesafe Cult
Created by max14 on 9/27/2023 in #questions
ShadCn Styling / Functionality Issue
which is due to the show delay not working for some reason
22 replies
TTCTheo's Typesafe Cult
Created by max14 on 9/27/2023 in #questions
ShadCn Styling / Functionality Issue
but its quite laggy when going up the options
22 replies