Skip to content
/ react-template Public template

The de facto template for React projects at Acto.

Notifications You must be signed in to change notification settings

actoaps/react-template

Repository files navigation

React Template

This is a template, for new React Projects @ Acto. More specifically, it is designed to be a gradle submodule (it is however not a requirement). Pages for our standard Fafnir login flow are included.

Included in the template

  • React
  • React-Router
  • Material UI v5
  • Acto Ajax
  • A series of often-used components and hooks
  • Formik + Yup, for non rage inducing form handling
  • React Query
  • Webpack v5 setup, which allows HMR and code-splitting using dynamic imports
  • Cypress testing suite
  • Eslint, with the StandardJS styleguide
  • Nginx config, including a dummy reverse-proxy for your API
  • Dockerfile, for building your webserver, containing your react build

Prerequisites

  • Node >= v15
  • Yarn
  • Chrome browser
  • Docker

Usage

  1. Clone the repo, and copy the contents to your desired location
  2. Edit the config/settings.js file, to match your projects requirements and needs
  3. Run yarn
  4. Start working
This template will be updated continuously, as tools are updated and best practices change.

About

The de facto template for React projects at Acto.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •