Skip to content

Get started with React.js, quicker, better, and smarter

Notifications You must be signed in to change notification settings

GovTechSG/react-base

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

[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

About

Get started with React.js, quicker, better, and smarter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published