This is a sample project to show and learn the new NextJS 14 app directoryand its features, including:
- static and synamic server-side rendering
- incremental static rendering
- client-side rendering
- route-handlers (API endpoints)
- meta-data API
- and more
Every page uses a different approach to fetching and caching data. Click the links in the nav bar to try them out.
Note: In order to load the data on this site, you need to get a free API key from Unsplash and add it to your .env.local file as ENSPLASH_ACCESS_KEY.
Unsplash has a free quota of 50 requests per hour so you might start getting errors if you try too often.