This directory contains the frontend application. It is built with React and Vite.
- Node.js for javascript execution and
npm
for package management.
To install the project's dependencies, run
npm install
To compile the application and start a development server with hot reload :
npm run dev
This will start a server running on http://localhost:5173/
. Open a browser to this adress to access the frontend app.
To build the application for production, run
npm run build
This will compile and process the application's source files into the dist
directory, which can then be served by an http server.
To lint the frontend code, run
npm run lint
To format the code, run
npm run format
Note in order to configure eslint to work properly with VScode, you should set the working directory in your workspace config (open settings with cmd + ,
and search for eslint working
):
"eslint.workingDirectories": [
"./frontend"
]