- Run
npm cito install the dependencies. - Run
npm run devto start the development server.
-
The default port of the application is as follows: 5173
-
for example: localhost:5173
If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:
- Configure the top-level
parserOptionsproperty like this:
export default {
// other rules...
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
project: ['./tsconfig.json', './tsconfig.node.json'],
tsconfigRootDir: __dirname,
},
}- Replace
plugin:@typescript-eslint/recommendedtoplugin:@typescript-eslint/recommended-type-checkedorplugin:@typescript-eslint/strict-type-checked - Optionally add
plugin:@typescript-eslint/stylistic-type-checked - Install eslint-plugin-react and add
plugin:react/recommended&plugin:react/jsx-runtimeto theextendslist
- if you need test deployment for application, use the next steps with docker-compose and dockerfiles
docker-compose build --progress=plain
-
please use the next command if you need run application in backgroup with docker
-
default port 80
docker-compose up -d
-
open your browser localhost
-
use the next command if you need down docker-compose application
docker-compose down
- you can check logs with the following command
docker-compose logs -f