# latosa-escrima.fr

## Setup

For this project we use [Deno](https://deno.com)

After installed:

```bash
cd ./latosa-frontend
deno install
```

then use the init to developp 

```bash
./init.sh
```

## Run

To run the frontend part:

```bash
cd ./latosa-frontend/
deno task dev
```

It should launch properly, go at http://localhost:8000

Use this to sync with backend

```bash 
docker compose up -d --build 
```

## deploy 

For deployement, it can be found at http://localhost:3000 

## Committing

There's a pre-commit hook to format. To set it up, first install [pre-commit](https://pre-commit.com/#installation)

Then run `pre-commit install`

[Prettier](https://prettier.io/docs/en/install) needs to be installed on your system:
`npm i -g prettier`
