A Next.js application with Storybook for component development and documentation.
Install the dependencies:
npm install
Run the Next.js development server:
npm run dev
Open http://localhost:3000 in your browser to see the application.
This project uses Storybook for component development and documentation.
To start Storybook in development mode:
npm run storybook
Storybook will start on http://localhost:6006.
To build a static version of Storybook:
npm run build-storybook
The built files will be in the storybook-static directory.
The Storybook is automatically deployed to GitHub Pages on every push to the main branch.
The deployment is handled by a GitHub Actions workflow that:
npm run dev - Start Next.js development servernpm run build - Build the Next.js application for productionnpm run start - Start the Next.js production servernpm run lint - Run ESLintnpm run storybook - Start Storybook development servernpm run build-storybook - Build Storybook for production