ça-mâche-quoi front is a React web application in TypeScript.
make installStart the dev server / watcher:
make serveLinting:
make lintThe app exposes some configuration variables through env vars.
By default, it loads vars from env files depending on the context, in the
following order:
.env.env.local.env.{production,staging,development}.env.{production,staging,development}.local
Last defined value wins. Actual env var always wins.
Note: You can also load another specific env file determined by the
ENV_FILEvar, for instance:ENV_FILE=.env.production make serve
To add new configuration variables, add these to the main .env file
and provide a development value (if relevent) in the .env.development file.
Build for production using:
make build@productionBuild for staging using:
make build@stagingServe a build:
make serve.static