https://github.com/eddmann/f1-picks-nextjs
F1 picks game showcasing NextJS 14 (App Router, RSC, Server Actions), Lambda Web Adaptor and CDK
https://github.com/eddmann/f1-picks-nextjs
cdk lambda nextjs nextjs14 react-server-components server-actions serverless
Last synced: about 1 year ago
JSON representation
F1 picks game showcasing NextJS 14 (App Router, RSC, Server Actions), Lambda Web Adaptor and CDK
- Host: GitHub
- URL: https://github.com/eddmann/f1-picks-nextjs
- Owner: eddmann
- Created: 2024-09-03T19:45:46.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-04T12:34:37.000Z (over 1 year ago)
- Last Synced: 2025-01-23T03:26:44.568Z (about 1 year ago)
- Topics: cdk, lambda, nextjs, nextjs14, react-server-components, server-actions, serverless
- Language: TypeScript
- Homepage:
- Size: 655 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# F1 Picks (NextJS)

I wanted an excuse to play with NextJS 14 (App Router, RSC, Server Actions etc.), Lambda Web Adaptor and CDK; so I thought reimplementing the previous [F1 picks](https://github.com/eddmann/f1-picks) project I built would be a good use-case 🏎️ 💨
This project uses the following technologies:
- NextJS 14 - App Router, React Server Components, Suspense, Response Streaming, Server Actions
- Prisma (for persistence)
- NextAuth.js (for Google OAuth login)
- Deployment on Lambda (via [Lambda Web Adaptor](https://github.com/awslabs/aws-lambda-web-adapter)), fronted by CloudFront using CDK
- Untested, domain, persistence and presentation code soup... ala 2000's PHP 😬.
## Inspiration
- https://frontendmasters.com/courses/next-js-v3/
- https://frontendmasters.com/courses/intermediate-next-js/
- https://github.com/aws-samples/trpc-nextjs-ssr-prisma-lambda
- https://blog.barnabycollins.com/web-dev/2023/12/22/how-to-host-nextjs-14.html
- https://github.com/awslabs/aws-lambda-web-adapter/tree/main/examples/nextjs
- https://github.com/awslabs/aws-lambda-web-adapter/tree/main/examples/nextjs-zip