Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lmammino/univ

Universal JavaScript application example without server side transpilation (React + Fastify)
https://github.com/lmammino/univ

fastify isomorphic isomorphic-javascript react reactjs universal universal-react webpack

Last synced: 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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_

```bash
npm run build
npm start
```

Then point your browser to [localhost:3000](http://localhost:3000/).

## Frontend only development

```bash
npm run dev:ui
```

Will start a `webpack-dev-server` session on [localhost:8080](http://localhost:8080/).