Daniel-M / nextjs-weather-app

Simple nextjs toy project to grasp nextjs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Getting Started

Get PNPM

To install PNPM, run the following command in your terminal:

npm install -g pnpm

AccuWeather API Key

You need to create an account to use this app. You can sign up at http://accuweather.com. and get an API key. set the API key as environment variable API_KEY or in layout.tsx file under app.

Component Storybook

This project uses Storybook to develop UI components in isolation for React. It also helps to document components and showcase components interactively in an isolated development environment. To use Storybook, run the following command in your terminal:

pnpm run storybook

Runing the app

First, run the development server:

npm run dev
# or
pnpm dev

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

About

Simple nextjs toy project to grasp nextjs

License:MIT License


Languages

Language:TypeScript 98.1%Language:JavaScript 1.9%