serverless-next
serverless-next copied to clipboard
Documentation
This repo look interesting, but hard to dive in without any documentation.
I'm using Serverless, but never used Next.js. I'm aiming at building a SSR application, because I need to pre-fetch data in order to dynamically inject a lot of things in the generated HTML, like meta, title, custom js blocks, css, etc.
I first did a very simple POC, using aws lambda and a handlebars template, which works okay for a single page, but isn't really practical to dev on it (need to deploy every time) and doesn't handle my multi pages need.
So, I looked for react SSR, then discovered Next.js and found your repo when looking for Next.js + Serverless.
I'll keep looking around and try it locally, but documentation would be nice! Especially now with almost 30 stars ;)
What version of node did you use?
@Vadorequest Hi, I'm happy that you found this example interesting.
You are totally right, it's a shame that I never wrote some docs or explanation about how everything is put together, mainly because this is a POC, not a proper tutorial or reference.
I'll look forward on updating it.
I prefer to use always the same version on Lambda (4.3 or 6.10), to have the closest behavior possible.
@geovanisouza92 I'm actually working on a tutorial/template for serverless, based on your work, but currently still trying to figure out some issues :/
See https://github.com/Vadorequest/serverless-with-next
@geovanisouza92 I advanced much more in my own repo about the documentation: https://github.com/Vadorequest/serverless-with-next
I now have something that is somehow working. Still improving. :)