next-enterprise/README.md

25 lines
1 KiB
Markdown
Raw Normal View History

2023-04-19 20:41:22 +02:00
## Getting Started
2023-03-25 16:53:07 +01:00
2023-04-19 20:41:22 +02:00
First, run the development server:
2023-03-25 16:53:07 +01:00
2023-04-19 20:41:22 +02:00
```bash
yarn dev
2023-03-25 16:53:07 +01:00
```
2023-04-19 20:41:22 +02:00
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
2023-03-25 16:53:07 +01:00
2023-04-19 20:41:22 +02:00
You can start editing the page by modifying `pages/index.js`. The page auto-updates as you edit the file.
2023-03-25 16:53:07 +01:00
2023-04-19 20:41:22 +02:00
[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.js`.
2023-03-25 16:53:07 +01:00
2023-04-19 20:41:22 +02:00
The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages.
2023-03-25 16:53:07 +01:00
2023-04-19 20:41:22 +02:00
## Learn More
2023-03-25 16:53:07 +01:00
2023-04-19 20:41:22 +02:00
To learn more about Next.js, take a look at the following resources:
2023-03-25 16:53:07 +01:00
2023-04-19 20:41:22 +02:00
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn/foundations/about-nextjs) - an interactive Next.js tutorial.
2023-03-25 16:53:07 +01:00
2023-04-19 20:41:22 +02:00
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!