Welcome to the NextJS 13 base template bootstrapped using the create-next-app
. This template supports TypeScript, but you can use normal JavaScript as well.
Hit the run button to start the development server.
You can start editing the page by modifying pages/index.tsx
. The page auto-updates as you edit the file.
Route Handlers allow you to create custom request handlers for a given route using the Web Request and Response APIs.
The app/api
directory is mapped to /api/*
. Folders in this directory with files named route.ts
are treated as Route handlers instead of pages.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
To make your next App run smoothly in production make sure to deploy your project with Repl Deployments!
You can also produce a production build by running npm run build
and changing the run command to npm run start
.