tynder-express-react-ts-esm-quickstart

0.1.0 • Public • Published

tynder-express-react-ts-esm-quickstart

A boilerplate for React client + Express server project using Tynder data validation library.

This boilerplate is based on the generated codes of the express-generator and Create React App.

Features

  • Declarative data validation.
    • Define the schema with TypeScript-like DSL.
    • Client and server share a schema.
  • Client and server are written in TypeScript + ES Modules.
  • Server does not depend on Babel and Webpack.

Requirements

  • Node.js >=12.13.0

Install

git clone https://github.com/shellyln/tynder-express-react-ts-esm-quickstart.git
cd tynder-express-react-ts-esm-quickstart

rm -rf .git
git init

vi package.json  # and edit project properties...

npm install
cd client
npm install
cd ..

git add .
git commit -m "initial commit"

Build

npm run build
cd client
npm run build
cd ..

Debug

First terminal:

npm start

Second terminal:

cd client
npm start

See also

License

ISC
Copyright (c) 2020 Shellyl_N and Authors.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.0
    6
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.0
    6
  • 0.0.1
    5

Package Sidebar

Install

npm i tynder-express-react-ts-esm-quickstart

Weekly Downloads

11

Version

0.1.0

License

ISC

Unpacked Size

694 kB

Total Files

36

Last publish

Collaborators

  • shellyln