For the installation, cd
in the apps/web
directory
Install the project's dependencies
pnpm install
Now, run the local server with the following command:
pnpm run dev
The server should now be running on http://localhost:5173
To build the project for production, you can run the build
script.
All the bundled javascript, css, and images will be moved to the dist
folder.
The project uses vitest
as a test runner. To run the test suite, start the test
script.
You can also generate a coverage report in the coverage
directory using the test:coverage
script.
The project uses ladle
as the component browser. Ladle is an alternative to Storybook
built and optimized for react. It has a simpler API and requires a lot less configuration and boilerplate.
To start the browser server, run pnpm run ladle
and go to http://localhost:61000
The project uses both eslint and prettier to format and lint the project.
You can use the lint:*
script to run all linters.