Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REQUESTED CONTENT] Building a Monorepo with NextJS and Webiny #76

Open
endymion1818 opened this issue Oct 6, 2022 · 7 comments
Open
Labels
advanced tutorial Looking for a writer Topic requested by the community, looking for an author to write about it.

Comments

@endymion1818
Copy link
Contributor

Introduction

This content was requested by community members Daniel and Brendon:

"If someone would be able to write up on doing a monorepo with NextJS and Webiny I would be grateful. Extra points if you deploy NextJS in a serverless matter with Pulumi through Webiny scripts " — Daniel

"Would love to see this too. We're working on a Nx monorepo with Remix, deploying to AWS CloudFront, ideally with Pulumi too, but haven't found a how-to guide yet as most blogs are using Serverless.com or CloudFormation." — Brendon

Additionally, it is something that another community member, Harshad, has already implemented:
"We had the need to do dynamic rendering since our data sets changes frequently. Instead of pretending during build time we decided to do server side rendering in NextJS backed by Webiny API's and deployed it onto Fargate. Cloudfront caching takes care of our scaling needs."

The idea behind the article is to take these ideas and create a proof of concept along with a tutorial on how to achieve it.

Goals

As this is an advanced tutorial, you can skip the "getting started with webiny" step. The core of the article should focus on how you can build a NextJS site in the same monorepo as Webiny, and use Pulumi scripts (via Webiny) to build and deploy it.

Outline

[Here is the sample outline.

  • Overview of Webiny architecture, including Pulumi
  • Initiate a React site with NextJS
  • Setting up deployment scripts
  • Build and deploy the NextJS site
  • Use static rendering with rebuilds and / or server side generation to update content

Sample articles

No response

@endymion1818 endymion1818 added Looking for a writer Topic requested by the community, looking for an author to write about it. advanced tutorial labels Oct 6, 2022
@FlocyMisik
Copy link

I would like to write on this

1 similar comment
@FlocyMisik
Copy link

I would like to write on this

@endymion1818
Copy link
Contributor Author

Hi @FlocyMisik, please send me a DM on the Community slack, we can chat more there!

@Nomzy-kush
Copy link

Hello I will like to write on this

@endymion1818
Copy link
Contributor Author

Hi @Nomzy-kush, thanks for your interest! Let's chat more in the community. See you there.

@dpkreativ
Copy link

Hi @endymion1818 I would love to write on this topic... is it still available?

@rishi-raj-jain
Copy link

@endymion1818

I'm interested in writing on this topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
advanced tutorial Looking for a writer Topic requested by the community, looking for an author to write about it.
Projects
None yet
Development

No branches or pull requests

5 participants