Skip to content

BCWResearch/auth-boilerplate

Repository files navigation

ReactTS + Vite Frontend Boilerplate

A simple boilerplate loaded with a few bleeding-edge packages, a new bundler called Vite, sprinkled with MUI (v5), React Router (v6), and multilingual support with LinguiJS.

  • Environmental variables are configured for Vite, located in /env
  • ESLint & Prettier have been set up for code consistency
  • Assets should only be included in /src/assets
  • LinguiJS for multilingual support

Commands:

Always run npm run i18n:compile before running app for the first time

  • npm run start:[dev|staging|prod]
  • npm run build:[dev|staging|prod]
  • npm run i18n:extract
  • npm run i18n:compile

Useful Docs: