FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix: initalize resend if env exist · loglib/loglib@aebe7cc · GitHub

/ loglib Public

Commit aebe7cc

Browse files
committed
fix: initalize resend if env exist
1 parent ecfa23d commit aebe7cc

18 files changed

Lines changed: 1207 additions & 1133 deletions

File tree

‎.github/CONTRIBUTING.md‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ We really appreciate any kind of contribution regardless of your coding skills.
1616

1717
## Folder Structure
1818

19-
We use turporepo to manage the project. If you're not familar with turbo repo skim through the docs the basic will be enough for most tasks.
19+
We use turborepo to manage the project. If you're not familiar with turbo repo skim through the docs the basic will be enough for most tasks.
2020

2121
1. Apps - Contains two other folders: API(hono js API that serves as API for analytics data and to receive data from the tracker) and www/web(next js app route project that serve as the main application framework)
2222

@@ -28,7 +28,7 @@ We use turporepo to manage the project. If you're not familar with turbo repo sk
2828

2929
- **Step 1**: Clone or fork the repo
3030
- **Step 2**: Run `pnpm install` on the root
31-
- **Step 3**: Run `pnpm build` (to build packages)
31+
- **Step 3**: Run `pnpm build` (to build packages)
3232
- **Step 4**: Set environment variables respectively and populate the values.
3333

3434
> Make sure you set similar NEXT_AUTH_SECRET on both API and www. You can run `openssl rand -base64 64` to generate a good jwt secret.
@@ -51,6 +51,8 @@ pnpm migrate
5151

5252
this will create a sqlite database in packages/db folder that'll be used across the whole project including as a clickhouse queries if you don't provide clickhouse credentials.
5353

54+
> Even though this is viable for development for production you need a turso db instance.
55+
5456
**Step 2** (optional): Setting up clickhouse
5557
Run clickhouse in docker using this command.
5658

‎apps/www/src/app/(landing)/pricing/page.tsx‎

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,18 @@ export default function page() {
1616
Start For Free. Scale as you grow.
1717
</p>
1818
</div>
19-
{/* <div className="grid grod-col-1 sm:grid-col-1 md:grid-col-2"> */}
20-
<div className=" flex-col md:flex-row flex items-center md:items-start justify-center space-y-2 md:space-y-0 md:gap-10 ">
21-
<div className=" rounded-lg border border-stone-300/10">
22-
<PricingCard tier={PLANS[0]} />
23-
</div>
19+
<div className=" flex-col md:flex-row flex items-center md:items-start justify-center space-y-2 md:space-y-0 md:gap-10 ">
20+
<div className=" rounded-lg border border-stone-300/10">
21+
<PricingCard tier={PLANS[0]} />
22+
</div>
2423

25-
<div className="rounded-lg border-stone-900 mt-[-40px] relative">
26-
<PricingCard tier={PLANS[1]} />
27-
</div>
28-
<div className="rounded-lg border border-stone-900">
29-
<PricingCard tier={PLANS[2]} />
30-
</div>
24+
<div className="rounded-lg border-stone-900 mt-[-40px] relative">
25+
<PricingCard tier={PLANS[1]} />
26+
</div>
27+
<div className="rounded-lg border border-stone-900">
28+
<PricingCard tier={PLANS[2]} />
3129
</div>
30+
</div>
3231
{/* </div> */}
3332
</div>
3433
);

‎apps/www/src/app/api/website/[id]/route.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export const PATCH = async (request: Request, context: z.infer<typeof routeConte
5555
const isSiteInTeam = await db.query.teamWebsites.findFirst({
5656
where(fields, operators) {
5757
return operators.and(
58-
// rome-ignore lint/style/noNonNullAssertion: <explanation>
58+
// biome-ignore lint/style/noNonNullAssertion: <explanation>
5959
operators.eq(fields.teamId, body.team!),
6060
operators.eq(fields.websiteId, body.id)
6161
)

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL