You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/redis-minimal/README.md
+15-19Lines changed: 15 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,32 +5,28 @@ This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-
5
5
First, run the development server:
6
6
7
7
```bash
8
+
npm i
8
9
npm run dev
9
-
# or
10
-
yarn dev
11
-
# or
12
-
pnpm dev
13
-
# or
14
-
bun dev
15
10
```
16
11
17
-
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
18
-
19
-
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
20
-
21
-
This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.
12
+
Or run build and run production server:
22
13
23
-
## Learn More
14
+
```bash
15
+
npm i
16
+
npm run build
17
+
npm run start
18
+
```
24
19
25
-
To learn more about Next.js, take a look at the following resources:
20
+
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
26
21
27
-
-[Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
28
-
-[Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
22
+
Modify `.env` file if you need to.
29
23
30
-
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome!
24
+
## Examples
31
25
32
-
## Deploy on Vercel
26
+
-http://localhost:3000
27
+
-http://localhost:3000/fetch-example
28
+
-http://localhost:3000/static-params-test/cache
33
29
34
-
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
30
+
## Clear fetch example cache
35
31
36
-
Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.
0 commit comments