/next-js-to-ts

Sample repository showing a React app for a JS to TS conversion.

Primary LanguageJavaScriptMIT LicenseMIT

next-js-to-ts

This is a Next.js project bootstrapped with create-next-app. It's part of my workshop series on converting a React app to TypeScript.

Getting Started

First, install:

npm i
# or
yarn

Then, to run the development server:

npm run dev
# or
yarn dev

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

You can start editing the page by modifying pages/index.js. The page auto-updates as you edit the file.

Tests

Run in interactive watch mode:

npm run test -- -w
# or
yarn test -w

Learn More

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

To learn more about TypeScript, take a look at the following resources: