Welcome to the Larafast Directories Boilerplate DocumentationLarafast Directories Boilerplate made with Larafast and uses Laravel Framework v11.x, Laravel Jetstream v5.0, Livewire 3, TailwindCSS and DaisyUI.
To modify pre-defined categories and products before running migrations, update the database/seeders/CategorySeeder.php and database/seeders/ProductSeeder.php files.
Details about how to manage categories can be found in Categories documentation.
Don’t forget to remove the starter kit’s git configs. To do so: rm -rf .git - to init fresh git folder later git remote remove origin
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Larafast","colors":{"primary":"#0D9373","light":"#07C983","dark":"#0D9373"},"favicon":"/logo/favicon.svg","logo":{"light":"https://mintcdn.com/larafast/p7p6xbnL6MINm0mR/logo/larafast-small.png?fit=max\u0026auto=format\u0026n=p7p6xbnL6MINm0mR\u0026q=85\u0026s=e282ae2d477406a3992013a47d0c30c9","dark":"https://mintcdn.com/larafast/p7p6xbnL6MINm0mR/logo/larafast-small-white.png?fit=max\u0026auto=format\u0026n=p7p6xbnL6MINm0mR\u0026q=85\u0026s=79a7301c8c7bd102082ffa9f428e8f0c"},"navbar":{"links":[{"label":"Support","href":"mailto:[email protected]"}],"primary":{"type":"button","label":"Website","href":"https://larafast.com"}},"footer":{"socials":{"twitter":"https://twitter.com/larafastphp","github":"https://github.com/karakhanyans-tools/larafast.git"}},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"larafast","hasAudioNarration":false,"actualSubdomain":"larafast","customDomains":["docs.larafast.com"],"gitSource":{"type":"github","owner":"karakhanyans","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6a21e61d03d4026a3ef76646","collectionId":"51c0bc73-3167-44ec-aebb-223e5a9347ed","schemaVersion":"v2"},"entitlements":{},"buildId":"6a21e61d03d4026a3ef76646:success","clientVersion":"0.0.3965","searchFilterCounts":[{"language":"default","tag":"VILT Components","count":38},{"language":"default","tag":"Features","count":35},{"language":"default","tag":"TALL Components","count":34},{"language":"default","tag":"Documentation","count":32},{"language":"default","tag":"Multi-Tenancy","count":29},{"language":"default","tag":"Fast Projects: API","count":14},{"language":"default","tag":"Fast Projects: Directories","count":7},{"language":"default","tag":"Tutorials","count":7},{"language":"default","tag":"Get Started","count":6},{"language":"default","tag":"Auth","count":5}]},"assistantConfig":{},"hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"fast-projects/directories/intro","slug":"/fast-projects/directories/intro","pageMetadata":{"title":"Start Here","description":"Larafast Directories Boilerplate Documentation","icon":"arrow-right","href":"/fast-projects/directories/intro"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Larafast Directories Boilerplate Documentation\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock,Heading,Info,Note,Tip,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Welcome to the `,_jsx(_components.strong,{children:`Larafast Directories Boilerplate Documentation`})]}),`\n`,_jsxs(_components.p,{children:[`Larafast Directories Boilerplate made with `,_jsx(_components.strong,{children:`Larafast`}),` and uses Laravel Framework v11.x, Laravel Jetstream v5.0, Livewire 3, TailwindCSS and DaisyUI.`]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`Haven’t gotten Larafast Directories yet? Check here: `,_jsx(_components.a,{href:`https://larafast.com/projects/directories`,children:`https://larafast.com/projects/directories`})]})}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`As Directories Boilerplate based on Larafast, for all the available base features check Larafast Main documentation: `,_jsx(_components.a,{href:`https://docs.larafast.com`,children:`https://docs.larafast.com`})]})}),`\n`,_jsx(Heading,{level:`2`,id:`installation`,children:`Installation`}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`If you have installed the project using the Larafast Installer, you can skip this steps.`})}),`\n`,_jsx(_components.p,{children:`To install the project you need to open your terminal and type these commands`}),`\n`,_jsx(Heading,{level:`3`,id:`clone-repo-and-install-composer`,children:`Clone repo and install composer`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`git`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` clone`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` [email protected]:karakhanyans-tools/larafast-directories.git`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [YOUR_PROJECT_NAME]`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`cd`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [YOUR_PROJECT_NAME]`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`composer`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`create-env-file`,children:`Create .env file`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`cp`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` .env.example`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` .env`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`create-app_key-just-run`,children:`Create APP_KEY just run:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`php`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` artisan`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` key:generate`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`change-admin-user-details`,children:`Change admin user details`}),`\n`,_jsxs(_components.p,{children:[`Open the `,_jsx(_components.code,{children:`database/seeders/AdminSeeder.php`}),` file and update the default admin user details.`]}),`\n`,_jsx(CodeBlock,{filename:`database/seeders/AdminSeeder.php`,numberOfLines:`7`,language:`php`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`php`,children:_jsxs(_components.code,{language:`php`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$user`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4EC9B0`},children:` User`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`::`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`create`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`([`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'name'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'Admin'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'email'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '[email protected]'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'password'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =>`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` bcrypt`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'1111'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`),`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]);`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$user`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`->`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`assignRole`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'admin'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`If you plan to use different roles, update the `,_jsx(_components.code,{children:`database/seeders/RoleSeeder.php`}),` file.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`categories-and-products`,children:`Categories and Products`}),`\n`,_jsxs(_components.p,{children:[`To modify pre-defined categories and products before running migrations, update the `,_jsx(_components.code,{children:`database/seeders/CategorySeeder.php`}),` and `,_jsx(_components.code,{children:`database/seeders/ProductSeeder.php`}),` files.`]}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[`Details about how to manage categories can be found in `,_jsx(_components.a,{href:`/fast-projects/directories/features/categories`,children:`Categories`}),` documentation.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`run-migrations`,children:`Run migrations`}),`\n`,_jsx(Tip,{children:_jsx(_components.p,{children:`By default DB_CONNECTION is set to SQLite, feel free to change it to MySQL or any preferred DB.`})}),`\n`,_jsx(_components.p,{children:`To use MySQL as a database, update the .env file with the new database credentials.`}),`\n`,_jsx(CodeBlock,{filename:`.env`,numberOfLines:`6`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`DB_CONNECTION`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`mysql`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`DB_HOST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`127.0.0.1`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`DB_PORT`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`3306`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`DB_DATABASE`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`your_db_name`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`DB_USERNAME`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`root`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`DB_PASSWORD`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Run the migrations and seed the database with the following command:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`php`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` artisan`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` migrate`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --seed`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`or`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`php`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` artisan`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` migrate:fresh`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --seed`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`install-npm-and-run`,children:`Install NPM and Run`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`npm`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` install`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`npm`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` run`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` dev`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`run-local-server`,children:`Run Local Server`}),`\n`,_jsx(_components.p,{children:`Laravel comes with a handy artisan serve command to run a local server. Feel free to use Valet or any other local server management tools.`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`php`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` artisan`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` serve`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`That’s it. Visit `,_jsx(_components.a,{href:`http://127.0.0.1:8000/`,children:`http://127.0.0.1:8000/`}),` and see your website!`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Don’t forget to remove the starter kit’s git configs. To do so: `,_jsx(_components.code,{children:`rm -rf .git`}),` - to init fresh git folder later `,_jsx(_components.code,{children:`git remote remove origin`})]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Start Here","description":"Larafast Directories Boilerplate Documentation","icon":"arrow-right","href":"/fast-projects/directories/intro"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Installation","slug":"installation","depth":2,"children":[{"title":"Clone repo and install composer","slug":"clone-repo-and-install-composer","depth":3,"children":[]},{"title":"Create .env file","slug":"create-env-file","depth":3,"children":[]},{"title":"Create APP_KEY just run:","slug":"create-app_key-just-run","depth":3,"children":[]},{"title":"Change admin user details","slug":"change-admin-user-details","depth":3,"children":[]},{"title":"Categories and Products","slug":"categories-and-products","depth":3,"children":[]},{"title":"Run migrations","slug":"run-migrations","depth":3,"children":[]},{"title":"Install NPM and Run","slug":"install-npm-and-run","depth":3,"children":[]},{"title":"Run Local Server","slug":"run-local-server","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":[],"subdomain":"larafast","siteName":"Larafast","title":"Start Here - Larafast","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2025-10-27T11:35:25.778Z","originalFileLocation":"fast-projects/directories/intro.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Larafast Directories Boilerplate Documentation\">\u003cmeta data-mint-head name=\"application-name\" content=\"Larafast\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/larafast/qg37bNa7kqUkjnFx/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/larafast/qg37bNa7kqUkjnFx/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/larafast/qg37bNa7kqUkjnFx/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/larafast/qg37bNa7kqUkjnFx/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/larafast/qg37bNa7kqUkjnFx/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/larafast/qg37bNa7kqUkjnFx/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/larafast/qg37bNa7kqUkjnFx/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/larafast/qg37bNa7kqUkjnFx/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/larafast/qg37bNa7kqUkjnFx/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Start Here - Larafast\">\u003cmeta data-mint-head property=\"og:description\" content=\"Larafast Directories Boilerplate Documentation\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Larafast\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.larafast.com/fast-projects/directories/intro\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://larafast.mintlify.app/_mintlify/api/og/v2?division=Get+Started\u0026amp;title=Start+Here\u0026amp;description=Larafast+Directories+Boilerplate+Documentation\u0026amp;theme=4bd33e15545b0eb1b7a3c4cd\u0026amp;signature=a850bf48af8b57b64bd3fad500ced23c43e59aac2d2c66de0c2c1d40fd26c902\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Start Here - Larafast\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Larafast Directories Boilerplate Documentation\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://larafast.mintlify.app/_mintlify/api/og/v2?division=Get+Started\u0026amp;title=Start+Here\u0026amp;description=Larafast+Directories+Boilerplate+Documentation\u0026amp;theme=4bd33e15545b0eb1b7a3c4cd\u0026amp;signature=a850bf48af8b57b64bd3fad500ced23c43e59aac2d2c66de0c2c1d40fd26c902\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/larafast/qg37bNa7kqUkjnFx/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Larafast\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0D9373\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.larafast.com/fast-projects/directories/intro\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/fast-projects/directories/intro.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.larafast.com/#organization\",\"name\":\"Larafast\",\"url\":\"https://docs.larafast.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/larafast/p7p6xbnL6MINm0mR/logo/larafast-small.png?fit=max\u0026auto=format\u0026n=p7p6xbnL6MINm0mR\u0026q=85\u0026s=e282ae2d477406a3992013a47d0c30c9\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.larafast.com#website\",\"name\":\"Larafast\",\"url\":\"https://docs.larafast.com\",\"publisher\":{\"@id\":\"https://docs.larafast.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.larafast.com/fast-projects/directories/intro#webpage\",\"url\":\"https://docs.larafast.com/fast-projects/directories/intro\",\"name\":\"Start Here\",\"description\":\"Larafast Directories Boilerplate Documentation\",\"dateModified\":\"2025-10-27T11:35:25.778Z\",\"isPartOf\":{\"@id\":\"https://docs.larafast.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.larafast.com/fast-projects/directories/intro#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.larafast.com/fast-projects/directories/intro#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Larafast\",\"item\":\"https://docs.larafast.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Start Here\",\"item\":\"https://docs.larafast.com/fast-projects/directories/intro\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.larafast.com/fast-projects/directories/intro#article\",\"headline\":\"Start Here\",\"name\":\"Start Here\",\"description\":\"Larafast Directories Boilerplate Documentation\",\"url\":\"https://docs.larafast.com/fast-projects/directories/intro\",\"mainEntityOfPage\":{\"@id\":\"https://docs.larafast.com/fast-projects/directories/intro#webpage\"},\"dateModified\":\"2025-10-27T11:35:25.778Z\",\"publisher\":{\"@id\":\"https://docs.larafast.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.larafast.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Larafast\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Larafast","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/larafast-installer"}]},{"tab":"Multi-Tenancy","pages":[{"title":"Multi-Tenancy","href":"/multi-tenancy/intro"}]},{"tab":"VILT Components","pages":[{"title":"VILT Components","href":"/vilt/components/themes-and-ui"}]},{"tab":"TALL Components","pages":[{"title":"TALL Components","href":"/tall/components/themes-and-ui"}]},{"tab":"Fast Projects: Directories","groups":[{"group":"Get Started","pages":[{"title":"Start Here","icon":"arrow-right","href":"/fast-projects/directories/intro"}]},{"group":"Features","pages":[{"title":"Admin Dashboard","sidebarTitle":"Admin","description":"Admin dashboard for managing categories, listings, sales, etc.","icon":"users","href":"/fast-projects/directories/features/admin"},{"title":"Categories","icon":"layer-group","href":"/fast-projects/directories/features/categories"},{"title":"Products","icon":"list-check","href":"/fast-projects/directories/features/products"},{"title":"Plans","icon":"money-check-dollar","href":"/fast-projects/directories/features/plans"},{"title":"User Auth","icon":"user-shield","href":"/fast-projects/directories/features/auth"}]},{"group":"Demo","pages":[{"title":"Demo","icon":"laptop-code","href":"/fast-projects/directories/features/demo"}]}]},{"tab":"Fast Projects: API","pages":[{"title":"Fast Projects: API","href":"/fast-projects/api/intro"}]}]},"title":"Start Here - Larafast","buildId":"dpl_849ArpqvBiCczQiT1Y1stNGpbqHT","deploymentId":"dpl_849ArpqvBiCczQiT1Y1stNGpbqHT","dynamics":[],"chunks":[]}