Build: A new feature or Feat: A new feature.
Fix: A bug fix.
Docs: Documentation only changes.
Style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc).
Refactor: A code change that neither fixes a bug nor adds a feature.
Perf: A code change that improves performance.
Test: Adding missing tests.
Chore: Changes to the build process or auxiliary tools and libraries such as documentation generation.
git commit -m "Feat: Added UI component to add file" or git commit -m "Feat: Added UI component to add file",
git commit -m "Fix: Bug in SomeView was fixed",
etc.
The react app is dockerized.
However, it is not necessary that you need to have docker installed or running.
Just do npm start
from the root directory to start the app.
Run this just once for setting up the docker image. (or when the docker configuration changes)
docker build -t iedc-web-frontend .
To see the app in action
docker run iedc-web-frontend
PS: the website port is 3000.
npm install --only=dev
./node_modules/.bin/prettier --write <filenames>
example
./node_modules/.bin/prettier --write src/components/*
./node_modules/.bin/elint --fix <filenames>
example
./node_modules/.bin/eslint --fix src/components/*