fogbender / b2b-saaskit Goto Github PK
View Code? Open in Web Editor NEWB2B SaaS Starter Kit - create a B2B web app: quickly and for free
Home Page: https://b2bsaaskit.com
License: MIT License
B2B SaaS Starter Kit - create a B2B web app: quickly and for free
Home Page: https://b2bsaaskit.com
License: MIT License
we can probably find a way to install less stuff in production build if we are going to use yarn install --production
https://vercel.com/docs/concepts/deployments/troubleshoot-a-build#excluding-development-dependencies
I followed the setup process, skipping the OpenAI & Stripe setup. Love the process. I hit a couple of bumps, some of which were mine, and others were fixed already.
pwf-dev
cannot contain -
) (same in step 9)Hello
Apparently the db connection string to Supabase is broken.
On promptswithfriends after trying to create a prompt the following error appears:
getaddrinfo ENOTFOUND db.aajtsheydwqllesdmzzg.supabase.co
On my local machine I tried to follow the update guide but no success.
They recommend for drizzle:
export const sql = postgres(serverEnv.DATABASE_URL , { prepare: false });
with the new connectionString from db settings but that doesn't seem to fix the issue.
Any ideas how to fix this ?
how to setup something (or just use b2b saaskit)
how to build simple apps using b2b saaskit:
move readme images from public/readme-images because they are ending up in the build output
For first-time contributors:
if I'm on https://promptswithfriends.com/app and I click on "create a prompt" or "prompts" it will redirect me back to /app, maybe it should redirect to /login instead
Ask users to pay us 50$ so that they don't have use use their own GPT token
let's hope this Twitter thread will have some answers ๐ค https://twitter.com/JLarky/status/1661803851459211265
we need to create session id that will allow posthog correlate when the same session is continuing instead of creating new one every time
this will allow us to better document prompts, comment messages are not going to be sent to API
A developer is likely to have an existing prompt buried in code, in JSON format. It would be great to be able to import a prompt from a JSON string.
We need to find a way to cover testing use case. Options:
should be easy, right? :)
update: I found this https://github.com/JoshuaKGoldberg/joshuakgoldberg-dot-com-next
TRPCError: Could not validate access token.
at eval (/.../b2b-saaskit/src/lib/trpc/trpc.ts:91:11)
at async callRecursive (file:///.../b2b-saaskit/node_modules/@trpc/server/dist/index.mjs:452:32)
at async callRecursive (file:///.../b2b-saaskit/node_modules/@trpc/server/dist/index.mjs:452:32)
at async resolve (file:///.../b2b-saaskit/node_modules/@trpc/server/dist/index.mjs:482:24) {
code: 'UNAUTHORIZED',
[cause]: UnauthorizedException [Error]: jwt malformed
at verifyToken (/.../b2b-saaskit/node_modules/@propelauth/node/dist/index.js:23063:19)
at /.../b2b-saaskit/node_modules/@propelauth/node/dist/index.js:23039:16
at Generator.next (<anonymous>)
at fulfilled (/.../b2b-saaskit/node_modules/@propelauth/node/dist/index.js:37:58) {
status: 401
}
}
it looks like set-cookie
header doesn't work in Node 19, but it was working in 18 and was fixed in 20
We are calling ctx.resHeaders.append('set-cookie', ...)
twice and only one of them would be applied in Node 19.
It looks like that in 19:
And it looks like this in 18 or 20 (you see two cookies set):
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.