Skip to content

xabicasado/cookbook

Repository files navigation

Cookbook project title logo

This is a Next.js project bootstrapped with create-next-app.

What's cooking here?

Hungry for something new? While you are here, feel free to play around with the project on GitHub Pages!

Getting Started

Install brew:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
echo "export PATH=/opt/homebrew/bin:$PATH" >> ~/.zshrc
source ~/.zshrc

Install NVM and Node 22.2.0:

brew update
brew install nvm
mkdir ~/.nvm
echo "export NVM_DIR=~/.nvm\nsource \$(brew --prefix nvm)/nvm.sh" >> .zshrc
source ~/.zshrc
nvm install 22.2.0

Install PNPM:

curl -fsSL https://get.pnpm.io/install.sh | sh -
source ~/.zshrc

or

npm install -g pnpm

Before you run Cookbook for the very first time, you will need to install the project dependencies:

pnpm i

Finally, use the development server to run the project locally:

pnpm dev

Open localhost:3000 with your browser to see the result.

Cookbook also utilizes a comprehensive component library visualized through Storybook. To browse the available UI components and their variations, run:

pnpm storybook

This command fires up the Storybook environment at localhost:6006, where you can view and test components in isolation, ensuring a consistent look and feel throughout the app.