Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 1.41 KB

File metadata and controls

39 lines (25 loc) · 1.41 KB

Serverside React Example

This repo contains two React applications, one implemented in Next.js, one in Remix to demonstrate serverside / fullstack React features.

Screenshot of the example application

Contents

  • Two projects implemented in Next.JS and remix

    • nextjs-blog: Variant with Next.js App Router and React Server Components
    • remix-blog: almost same application but with Remix (folder v2)
  • One backend (serves a simple REST-like API)

    • blog-backend
  • RSC step-by-step training/demo playground

    • rsc-step-by-step (with Next.js app router)

Run the examples

  • Before running one of the apps, make sure blog-backend runs:

    • cd blog-backend && pnpm install && pnpm start
  • Best open each folder (nextjs-blog / remix-blog ) individually in webstorm / vscode

  • Run either in dev mode:

  • or create prod build (see package.json in both folders)

    • Note: typecheck in the remix example does current not work due to this bug

Feedback

If you have feedback, questions or comments, please let me know: