@govtechsg/generator-react-base

0.0.1 • Public • Published

[WIP] React Project Base

Get started with a fully extensible React.js application built from empirical best practices.

What's Included?

Server-side

  • Express for the base-server
  • Secure
  • CORS-enabled
  • CSP-enabled
  • Prometheus metrics endpoint
  • Health check endpoint
  • Readiness check endpoint

Tooling

  • Babel for ES6-compatibility
  • Webpack for bundling

Testing framework

  • Karma for running tests
  • Mocha for the test framework
  • Chai as the assertion library
  • Sinon as the mocking library

How Do I Use This?

Via Yeoman Generator

Run:

npm install -g generator-react-base;

Via Docker Image

Create a Dockerfile with the following contents:

FROM govtechsg/react-base:v16
COPY . /app
RUN yarn

Readme

Keywords

none

Package Sidebar

Install

npm i @govtechsg/generator-react-base

Weekly Downloads

1

Version

0.0.1

License

MIT

Last publish

Collaborators

  • kenneth_leong_gt
  • govtechsg_a11y
  • younglim
  • gtrgchua
  • isomer.govtech
  • gyunikuchan
  • gds_ace_dlt
  • gdsbot
  • gylsky
  • ryanoolala
  • dyihoon90