Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ibrahimcesar/nextjs-ssr-isr-cdk-aws

πŸ¦„ β€β€β€Ž β€Žβ€β€β€Ž β€Žβ€β€β€Ž β€ŽNext.js webapp using Server Side Rendering (SSR) and Incremental Static Regeneration (ISR) deployed with Serverless Nextjs CDK construct on AWS using CloudFront and Lambda@Edge
https://github.com/ibrahimcesar/nextjs-ssr-isr-cdk-aws

cdk-examples cloudfront isr nextjs nextjs-example pokeapi pokemon pokemon-api reactjs server-side-rendering serverless ssr

Last synced: about 2 months ago
JSON representation

πŸ¦„ β€β€β€Ž β€Žβ€β€β€Ž β€Žβ€β€β€Ž β€ŽNext.js webapp using Server Side Rendering (SSR) and Incremental Static Regeneration (ISR) deployed with Serverless Nextjs CDK construct on AWS using CloudFront and Lambda@Edge

Awesome Lists containing this project

README

        

CDK

# AWS CDK serverless deploy for Next.js with SSR and ISR

> Next.js webapp using Server Side Rendering (SSR) and Incremental Static
> Regeneration (ISR) deployed with Serverless Nextjs CDK construct on AWS using
> CloudFront and Lambda@Edge

## How to deploy?

🌟
[Read the post for more context](https://ibrahimcesar.cloud/blog/nextjs-typescript-serverless-deploy-with-ssr-and-isr-with-aws-cdk/)

> **[Live Demo](https://d3k4okkgstczau.cloudfront.net)**

## PokΓ©Serverless is _just_ a Proof of Concept!

Minimal NextJS with Server Side Rendering (SSR) and Incremental Static
Generation (ISR) – **Gotta Fetch'Em All!** – and deployed with
[Serverless Nextjs CDK construct](https://serverless-nextjs.com/docs/cdkconstruct/)
on AWS using CloudFront and Lambda@Edge.

### Special Thanks

- [NextJS](https://nextjs.org/), a great framework! And the freedom to build and
deploy wherever we need or want! Great fan
- [Serverless Nextjs CDK construct](https://serverless-nextjs.com/docs/cdkconstruct/),
in special [Henry Kirkness](https://github.com/kirkness) and
- [Daniel Phang](https://github.com/dphang) for all work at
[this feature](https://github.com/serverless-nextjs/serverless-next.js/pull/878)
and [ISR](https://github.com/serverless-nextjs/serverless-next.js/pull/1028)
- [Adam Elmore](https://twitter.com/aeduhm) for put a
[bounty on the ISR issue](https://twitter.com/aeduhm/status/1382093398077796357?s=20)!

### MIT License

Β© Copyright 2021 [Ibrahim Cesar](https://ibrahimcesar.cloud)

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.