Welcome to Mahali Progressive WebApp repository.
You can chat with the core team on Mattermost.
Mahali PWA requires Node >=16
Please follow these steps to get a development env running.
git clone [email protected]:mahali/front/webapp-vue3.git
cd webapp-vue3
npm install
Start a local version connected to dev backend of Mahali webapp using the following command:
npm run dev
Start a local version connected to a local backend of Mahali webapp using the following command:
npm run localhost
In both cases, the local version of Mahali webapp will be available on http://localhost:8080
We use ESLint for both linting and formatting.
You can run npm run lint --fix
to let ESLint formats and lints the code.
We recommend using VS Code along with the ESLint extension.
With the following settings in VS Code's settings.json
, you can have auto fix and formatting when you save the code you are editing :
{
"editor.codeActionsOnSave": {
"source.fixAll": false,
"source.fixAll.eslint": true
}
}
Since ESLint is already configured to format the code, there is no need to duplicate the functionality with Prettier.
We use Conventional Commits for commit messages, which allows the changelog to be auto-generated based on the commits. Please read the guide through if you aren't familiar with it already.
Only fix:
and feat:
will be presented in the changelog.
Note that fix:
and feat:
are for actual code changes (that might affect logic).
For typo or document changes, use docs:
or chore:
instead:
->fix: typo
docs: fix typo
Tools thatare used to build your application.
-
- Webapp developer
-
- Webapp developer
This project is licensed - see the LICENSE file for details.