fullts

Full stack framework in TypeScript, based on TSRPC.

Usage no npm install needed!

<script type="module">
  import fullts from 'https://cdn.skypack.dev/fullts';
</script>

README

FullTS    557045673

EN / 中文

Full-stack framework in TypeScript, based on TSRPC and React.

Still under developing, feel free to log a issue.

Features

Quick development

Extremly efficient in development, everything in TypeScript. Share code between frontend and backend, remote function call just like local

High performance

Delay load, pack and chunk, tested online over 2 years

Easy to learn

Get best practise of project instantly, without learning many tools (etc. webpack, react-router...)

Usage

import * as React from 'react';
import {FulltsApp} from 'fullts';

new FulltsApp({
    serverUrl: '',
    routes: [
        { path: '/', component: () => import('./views/HomeView') },
        { path: '/posts', component: () => import('./views/ArticleListView') },
        { path: '/post/:id', component: () => import('./views/SingleArticleView') },
        { path: '*', component: () => import('./views/Page404') }   //404 Page
    ]
}).renderTo(document.getElementById('app-root')!)