# Dialimpics Front

Next Front End for Dialimpics

## How to start the project

- `npm i`
- `npm run dev`

## Env needed (in .env or .env.local)

```
PROJECT_NAME=Dialimpics
API_URL=https://dialimpics-admin-beta.binpar.cloud
API_USER=admin@binpar.com
API_PASSWORD=B1np4r.t34m
JWT_SECRET=dialimpics
```

## To make sure everything is fine

- `npm run lint`
- `npm run build`

## Commit rules

To commit we use [standard version](https://github.com/conventional-changelog/standard-version) with [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/).

Supported commit types: 

- fix
- feat
- BREAKING CHANGE
- perf
- refactor

Any other commit type (such as docs or test) will not appear in CHANGELOG.

Commit example:

```
fix: Fixed an issue with navigation not working.

Navigating from home page did nothing. CU-1234.
```

### Release

First make sure everything builds and lints fine.

Then run:

```
npm run release
```

This will update changelog and version.

```
git push --follow-tags
```

This will push the commit and generate a tag for CI CD.
