| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -16,7 +16,7 @@ We really appreciate any kind of contribution regardless of your coding skills. | |||
| 16 | 16 | ||
| 17 | 17 | ## Folder Structure | |
| 18 | 18 | ||
| 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. | ||
| 20 | 20 | ||
| 21 | 21 | 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) | |
| 22 | 22 | ||
@@ -28,7 +28,7 @@ We use turporepo to manage the project. If you're not familar with turbo repo sk | |||
| 28 | 28 | ||
| 29 | 29 | - **Step 1**: Clone or fork the repo | |
| 30 | 30 | - **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) | ||
| 32 | 32 | - **Step 4**: Set environment variables respectively and populate the values. | |
| 33 | 33 | ||
| 34 | 34 | > 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 | |||
| 51 | 51 | ||
| 52 | 52 | 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. | |
| 53 | 53 | ||
| 54 | + > Even though this is viable for development for production you need a turso db instance. | ||
| 55 | + | ||
| 54 | 56 | **Step 2** (optional): Setting up clickhouse | |
| 55 | 57 | Run clickhouse in docker using this command. | |
| 56 | 58 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -16,19 +16,18 @@ export default function page() { | |||
| 16 | 16 | Start For Free. Scale as you grow. | |
| 17 | 17 | </p> | |
| 18 | 18 | </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> | ||
| 24 | 23 | ||
| 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]} /> | ||
| 31 | 29 | </div> | |
| 30 | + </div> | ||
| 32 | 31 | {/* </div> */} | |
| 33 | 32 | </div> | |
| 34 | 33 | ); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -55,7 +55,7 @@ export const PATCH = async (request: Request, context: z.infer<typeof routeConte | |||
| 55 | 55 | const isSiteInTeam = await db.query.teamWebsites.findFirst({ | |
| 56 | 56 | where(fields, operators) { | |
| 57 | 57 | return operators.and( | |
| 58 | - // rome-ignore lint/style/noNonNullAssertion: <explanation> | ||
| 58 | + // biome-ignore lint/style/noNonNullAssertion: <explanation> | ||
| 59 | 59 | operators.eq(fields.teamId, body.team!), | |
| 60 | 60 | operators.eq(fields.websiteId, body.id) | |
| 61 | 61 | ) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments