Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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)
- Host: GitHub
- URL: https://github.com/lmammino/univ
- Owner: lmammino
- License: mit
- Created: 2020-03-14T16:58:14.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-01T17:38:53.000Z (almost 2 years ago)
- Last Synced: 2024-10-10T16:51:06.303Z (2 months ago)
- Topics: fastify, isomorphic, isomorphic-javascript, react, reactjs, universal, universal-react, webpack
- Language: JavaScript
- Homepage:
- Size: 570 KB
- Stars: 13
- Watchers: 3
- Forks: 3
- Open Issues: 26
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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/).