Skip to content

taptima/fsd-next-template

Repository files navigation

Develop

  1. Install the dependencies. Run:
    pnpm install
  2. Set up environment variables. See list of pre-configured environment variables bellow.
    Note: .env.local overwrite .env (more)
  3. Start the development server (see additional info about this feature). Run:
    pnpm dev
  4. Open http://localhost:3000 in your browser.

This project uses next/font to automatically optimize and load Inter, a custom Google Font.

Publish

  1. Install the dependencies. Run:
    pnpm install
  2. Make the production build. Run:
    pnpm build
  3. Start server (see additional info about this feature). Run:
    pnpm start

Pre-configured environment variables

  1. NEXT_PUBLIC_API_BASE_URL — useful for configuring base URL for any API calls.
  2. NEXT_PUBLIC_ASSETS_VERSION — version of public assets. Can be used to reset browser cache of any assets.

Storybook

  1. To start storybook locally
    pnpm storybook:dev
  2. To build storybook
    pnpm storybook:build

About

Template frontend project built on top of Next.js with FSD methodology

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 8