Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/atilafassina/poke-index
Proof-of-Concept: Netlify On-Demand Builders vs SSG on a NextJS app
https://github.com/atilafassina/poke-index
jamstack netlify nextjs on-demand-builders react serverless
Last synced: 25 days ago
JSON representation
Proof-of-Concept: Netlify On-Demand Builders vs SSG on a NextJS app
- Host: GitHub
- URL: https://github.com/atilafassina/poke-index
- Owner: atilafassina
- Created: 2021-06-04T19:52:10.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-11-24T19:52:40.000Z (almost 3 years ago)
- Last Synced: 2023-08-03T09:22:57.797Z (over 1 year ago)
- Topics: jamstack, netlify, nextjs, on-demand-builders, react, serverless
- Language: TypeScript
- Homepage: https://poke-index.netlify.app/
- Size: 187 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PokéIndex
Netlify On-Demand Builders vs SSG on a NextJS app
[![Netlify Status](https://api.netlify.com/api/v1/badges/ccfe581b-1a55-41e9-9406-32f34a39f716/deploy-status)](https://app.netlify.com/sites/poke-index/deploys)
This is a Proof-of-Concept for my article [Breaking Down Bulky Builds With Netlify And Next.js](https://www.smashingmagazine.com/2021/06/breaking-down-bulky-builds-netlify-nextjs/)
## Same app, 2 deploys 📖
This PoC compares 2 deployment strategies with NextJS.
1. Fully SSG on Netlify (`ssg` branch)
2. Using On-Demand Builders for all dynamic routes (`main` branch)## Deploy your own 🍴
**On-Demand Builder**
[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/atilafassina/poke-index)
**Fully Static Generated**
1. Clone the `ssg` of this repository
```
git clone -b ssg https://github.com/atilafassina/poke-index
```2. Add to your Netlify account, or use the [Netlify CLI](https://cli.netlify.com/) to deploy it
## Also check 🏆
- Data in this app is coming from [PokéAPI](https://pokeapi.co/)