Bored Student
Bored Student
Explore posts from servers
TTCTheo's Typesafe Cult
Created by webdevkaleem on 1/23/2025 in #questions
Twitch Re-sub confusion
I mean twitch is weird with international subs apparently, for a local creator I pay 1,7x compared to Theo
8 replies
TTCTheo's Typesafe Cult
Created by darfdx on 1/21/2025 in #questions
[SOLVED] New to Docker, can't connect from localhost to DB on container
Per default afaik there is only a database called "postgres" you have do execute something like "create database 'betternewsdb' with owner '{USER}';"
21 replies
TTCTheo's Typesafe Cult
Created by darfdx on 1/21/2025 in #questions
[SOLVED] New to Docker, can't connect from localhost to DB on container
I don't know drizzle specifically, but it says like "database 'betternewsdb' does not exist", that looks like a postgres problem not a network problem. Did you tell postgres to create Postgres to create that database and did you check if your permissions are configured correctly?
21 replies
TTCTheo's Typesafe Cult
Created by Bored Student on 1/17/2025 in #questions
Astro Document Processor
Preferably some links how to work with Astro Starlight document processing
3 replies
TTCTheo's Typesafe Cult
Created by Bored Student on 11/19/2024 in #questions
How to type react element arguments
thats as annoying as the absence of named arguemnts
6 replies
TTCTheo's Typesafe Cult
Created by Bored Student on 11/19/2024 in #questions
How to type react element arguments
so
const Example = ({guid} : {string}) => { ... }
const Example = ({guid} : {string}) => { ... }
?
6 replies
TTCTheo's Typesafe Cult
Created by Bored Student on 11/16/2024 in #questions
Add React to .NET Api
No description
7 replies
TTCTheo's Typesafe Cult
Created by Bored Student on 11/16/2024 in #questions
Add React to .NET Api
No description
7 replies
TTCTheo's Typesafe Cult
Created by Bored Student on 11/16/2024 in #questions
Add React to .NET Api
Serve Files from wwwroot folder
C#
var builder = WebApplication.CreateBuilder(args);
...
var app = builder.Build();
...
app.UseStaticFiles();
app.UseDefaultFiles();
app.MapFallbackToFile("index.html");
C#
var builder = WebApplication.CreateBuilder(args);
...
var app = builder.Build();
...
app.UseStaticFiles();
app.UseDefaultFiles();
app.MapFallbackToFile("index.html");
Tell Vite to build to wwwroot folder:
export default defineConfig({
plugins: [react()],
build: {
outDir: '../API/wwwroot',
emptyOutDir: true,
},
});
export default defineConfig({
plugins: [react()],
build: {
outDir: '../API/wwwroot',
emptyOutDir: true,
},
});
Add Vite Build to Project Build & Lauch Settings
7 replies
TTCTheo's Typesafe Cult
Created by Bored Student on 11/16/2024 in #questions
Add React to .NET Api
I've done something similar in the past using nginx but i want to have it more contained this time.
7 replies
TTCTheo's Typesafe Cult
Created by om3r on 11/1/2024 in #questions
can T3 stack build big apps like erp system ?
to do something like SAP you shouldn't use JS/TS you need at least .NET or Java if not C/Zig/Rust SAP is kinda trash but actually incredibly mighty by itself it's a whole contained ecosystem.
5 replies
TTCTheo's Typesafe Cult
Created by om3r on 11/1/2024 in #questions
can T3 stack build big apps like erp system ?
Depends on the exact scope and your infra. It's definitely Possible but I'd hardly advise against it. It's well suited to make an web front-end/dashboard thing for an ERP with a bit of extra spice.
5 replies
TTCTheo's Typesafe Cult
Created by Bored Student on 10/7/2024 in #questions
From Post to API
looks like i can sneak that in
6 replies
TTCTheo's Typesafe Cult
Created by Bored Student on 10/7/2024 in #questions
From Post to API
thx
6 replies
TTCTheo's Typesafe Cult
Created by dandandan on 6/21/2024 in #questions
What NoSQL databases are actually good?
131 replies
TTCTheo's Typesafe Cult
Created by dandandan on 6/21/2024 in #questions
What NoSQL databases are actually good?
Filesystems
131 replies
CC#
Created by Bored Student on 5/22/2024 in #help
How to Dockerize
3 replies
CC#
Created by Bored Student on 5/8/2024 in #help
API Endpoint is Invoked with `null` Argument
However I'm not to inclined to debug the middleware and possible configuration issues, as long as typed JSON just works
13 replies
CC#
Created by Bored Student on 5/8/2024 in #help
API Endpoint is Invoked with `null` Argument
And I'm on .NET 8 so it most definitely should work, yet it doesn't 🤔
13 replies
CC#
Created by Bored Student on 5/8/2024 in #help
API Endpoint is Invoked with `null` Argument
Very much so 😮‍💨 , altough i'm a little disapointed .NET doesn't parse the strings
13 replies