Fetch data from Rails API with Next.js

Опубликовано: 14 Октябрь 2024
на канале: Ken Greeff
678
34

In this episode we will setup a repo that contains a Rails app running in API mode as well as a Next.js app for the frontend. I'll walk you through setting up each app from scratch and showing you how to connect them so that they can communicate via the API.

Tutorial Code:
https://github.com/kengreeff/nextjs-r...

Ruby on Rails:
https://rubyonrails.org

Next.js:
https://nextjs.org

TanStack Query:
https://tanstack.com/query/latest

--

Follow along to watch us build a Rails / SaaS / B2C app from the ground up.

Clipflow.co
https://www.clipflow.co

Twitter
Darrell -   / craftbuildcut  
Ken -   / kennng