lmammino / univ

Universal JavaScript application example without server side transpilation (React + Fastify)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

univ

A simple "Universal JavaScript" application example using Fastify and React.

It is built to showcase the following principles:

  • Universal module loading
  • Universal rendering
  • Universal routing
  • Universal Data fetching

It does not use webpack or babel on the server side and fully leverages Node.js ESM modules support!

Usage

You will need Node version >13

npm run build
npm start

Then point your browser to localhost:3000.

Frontend only development

npm run dev:ui

Will start a webpack-dev-server session on localhost:8080.

About

Universal JavaScript application example without server side transpilation (React + Fastify)

License:MIT License


Languages

Language:JavaScript 95.7%Language:CSS 4.3%