Skip to content

A weather forecast service created with NextJS, TailwindCSS and Typescript. It gathers data from the National Weather Service API and the US Census Geocoder.

Notifications You must be signed in to change notification settings

jpjuliao/nextjs-weather-forecast

Repository files navigation

Weather Forecast App

Created with NextJS, TailwindCSS and Typescript. It gathers data from theNational Weather Service APIand theUS Census geocoder.

Check the demo hosted in Vercel.

This is aNext.jsproject bootstrapped withcreate-next-app.

Getting Started

First add the HOST env variable and then run the development server:

npm run dev
#or
yarn dev
#or
pnpm dev

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

You can start editing the page by modifyingpages/index.tsx.The page auto-updates as you edit the file.

API routescan be accessed onhttp://localhost:3000/api/hello.This endpoint can be edited inpages/api/hello.ts.

Thepages/apidirectory is mapped to/api/*.Files in this directory are treated asAPI routesinstead of React pages.

This project usesnext/fontto automatically optimize and load Inter, a custom Google Font.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check outthe Next.js GitHub repository- your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use theVercel Platformfrom the creators of Next.js.

Check out ourNext.js deployment documentationfor more details.

About

A weather forecast service created with NextJS, TailwindCSS and Typescript. It gathers data from the National Weather Service API and the US Census Geocoder.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published