Config Files
Easily configure your Get Cracked Starter SaaS boilerplate template with these files.
Integrations & Best Practices
All integrations mentioned in these documentation pages are already properly integrated using best practices within the project. These documentation pages are primarily for developers who want to dive deep into the code and understand the implementation details.
The
configConfiguration Files Overview
Here's a breakdown of the key configuration files you'll find:
Landing Page Configuration
The config/landing.ts
Customization Tips:
- Content: Easily update text, images, and links to reflect your brand and offerings.
- Sections: The homepage components are located in the folder. You can modify existing sections or add new ones by referencing these components.
components/sections
Navigation Menus
The navigation configuration files define the links and structure of your application's menus:
- : Manages navigation links for your public-facing marketing site.
config/marketing.ts - : Configures navigation specific to the user dashboard.
config/dashboard.ts - : Defines the sidebar navigation for your documentation pages.
config/docs.ts
Customization Tips:
- Add/Remove Links: Simply add or remove objects from the arrays within these files to update your navigation.
- Reorder: Change the order of links by reordering the objects in the arrays.
Site Metadata and Global Settings
The config/site.ts
Customization Tips:
- SEO: Update the ,
name, anddescriptionfor better search engine optimization.url - Social Links: Modify footer social media links to point to your profiles.
Subscription and Pricing Plans
The config/subscriptions.ts
Customization Tips:
- Pricing Cards: Each object in the array represents a pricing card on your subscriptions page.
- Features & Limitations: Clearly list the and
benefitsfor each plan.limitations - Prices: Set and
monthlyprices.yearly - Stripe Integration: The object is critical. You must replace the placeholder environment variables (
stripeIds,env.NEXT_PUBLIC_STRIPE_PRO_MONTHLY_PLAN_ID, etc.) with your actual Stripe Price IDs. These IDs link your pricing plans to your Stripe account, enabling proper billing. Refer to the Stripe documentation for how to obtain these IDs.env.NEXT_PUBLIC_STRIPE_PRO_YEARLY_PLAN_ID
Example Pricing Card Structure:
{
title: 'Pro',
description: 'Unlock Advanced Features',
benefits: [
'Up to 500 monthly posts',
'Advanced analytics and reporting',
'Access to business templates',
'Priority customer support',
'Exclusive webinars and training.',
],
limitations: [
'No custom branding',
'Limited access to business resources.',
],
prices: {
monthly: 15,
yearly: 144,
},
stripeIds: {
monthly: env.NEXT_PUBLIC_STRIPE_PRO_MONTHLY_PLAN_ID, // REPLACE with your Stripe monthly price ID
yearly: env.NEXT_PUBLIC_STRIPE_PRO_YEARLY_PLAN_ID, // REPLACE with your Stripe yearly price ID
},
},