nastynaz / yarn4-nextjs-typescript-starter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Features

  • The new NextJS experimental app directory
  • Typescript 4.9.4 with strict type checks
  • The bleeding edge Yarn 4 for package management with out-of-the box support for Zero Installs
  • ESLint for linting) by default
  • Prettier for code formatting
  • Tailwind CSS for styling
  • Configuration files so that everything plays nicely with nvim and coc.nvim

Getting Started

First, 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 app/page.tsx. The page auto-updates as you edit the file.

API routes can be accessed on http://localhost:3000/api/hello. This endpoint can be edited in pages/api/hello.ts.

The pages/api directory is mapped to /api/*. Files in this directory are treated as API routes instead of React pages.

Learn More

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

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

About


Languages

Language:CSS 45.3%Language:TypeScript 42.8%Language:JavaScript 11.9%