Skip to content
/ fsd-next-template Public template

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

Notifications You must be signed in to change notification settings

taptima/fsd-next-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.
  3. NEXT_PUBLIC_SENTRY_DSN — used to log errors to Sentry.

Sentry

  1. Add NEXT_PUBLIC_SENTRY_DSN to .env file
  2. sentry-cli login — to login through browser or enter auth token
  3. Fill defaults.project field in sentry.properties file

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

Releases

No releases published

Packages

No packages published