next-composition
serverless-next.js
next-composition | serverless-next.js | |
---|---|---|
2 | 35 | |
38 | 4,391 | |
- | 0.3% | |
3.2 | 0.0 | |
about 2 years ago | 8 days ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
next-composition
-
how to forward data from middleware to page?
You may consider https://github.com/neet/next-composition.
- GitHub - neet/next-composition: Next.js utility for reusing getServerSideProps, getStaticProps logics
serverless-next.js
-
My SaaS architecture (tech stack) on AWS as a solo developer with Node.js as a backend
I'm currently waiting SST v2 to be released where they will use https://open-next.js.org instead of https://github.com/serverless-nextjs/serverless-next.js
-
Deploying Next.js 13 with Amplify CDK
To deploy the app, I had the requirement to use AWS as a cloud-provider, with a limited budget, so neither Vercel (a safe choice, as it is the company which develops Next.js), nor a containerized solution like the managed AWS ECS Fargate service could satisfy my needs. Then, I started with a serverless hosting thanks to the serverless-next project, which provides a serverless plugin or a CDK construct to deploy a Next.js stack. However, this project is no more well-maintained and new Next.js features (like middlewares, etc.) are not supported.
-
Have you noticed that AWS Amplify and NextJS don't seem to get as much attention as they deserve?
If you have the time and resources, I'd suggest to take a look at SST.dev and or OpenNext (created by the SST people). With that ISR should work (although they still seem to work on upgrading to v12). Or take a look at https://github.com/sladg/nextjs-lambda to run NextJS on a lambda exclusively.
-
Are there disadvantages to running NextJS on Lambda with Serverless framework?
serverlessnextjs does not support NextJS 13. https://github.com/serverless-nextjs/serverless-next.js/issues/2497
-
I hate Amplify
I hate Amplify. I've been using it for around 2 weeks, because serverless-next.js no longer works with Next v13.
-
π Next Auth vs SST Auth
Let's mention that it's possible to deploy a Next.js application using SST π . This setup relies on the serverless-next.js project and it's hidden behind a construct named NextJsSite. It can be a very efficient solution when you want to ship your application on AWS environment (I use it for a production workload in my current company).
- Next.js com serverless-stack
- Is Turbopack 10x Faster than Vite?
- Astro 1.0
-
What are some good ways to deploy a react app on AWS?
ATM Next JS is SSR (Server Side Rendering) so only S3 and CloudFront is not enough! As mentioned here already Lambda@Edge can do the server parts and is used like in Amplify. An Alternative would the serverless framework which offers a next js deployment https://github.com/serverless-nextjs/serverless-next.js .
What are some alternatives?
Kutt.it - Free Modern URL Shortener.
terraform-aws-next-js - Terraform module for building and deploying Next.js apps to AWS. Supports SSR (Lambda), Static (S3) and API (Lambda) pages.
tinacms - A fully open-source headless CMS that supports Markdown and Visual Editing
nextjs-monorepo-example - Collection of monorepo tips & tricks
nodejs-api-starter - π₯ Yarn v2 based monorepo template (seed project) pre-configured with GraphQL API, PostgreSQL, React, Relay, and Material UI. [Moved to: https://github.com/kriasoft/relay-starter-kit]
aws-sam-typescript-layers-example - Example project for developing AWS Lambda functions on TypeScript with all goodies: local development, tests, debugging, shared layers (3rd party and your own), and deploy.
Kap - An open-source screen recorder built with web technology
nextjs-ssr-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 [Moved to: https://github.com/ibrahimcesar/nextjs-ssr-isr-cdk-aws]
lift - Expanding Serverless Framework beyond functions using the AWS CDK
sveltekit-adapter-lambda - An adapter to build a SvelteKit app into a lambda ready for deployment with lambda proxy via the Serverless Framework.
sst - Build modern full-stack applications on AWS
php - π PHP Runtime for β² Vercel Serverless Functions (support 7.4-8.3)