Web project for DengueChat
Base project having:
- React
- TypeScript
- Vite
- Vitest
- Tailwind CSS
- Eslint
- Prettier
- Commitlint
- Husky
- Absolute Imports
This project uses node and a package manager (npm, yarn or pnpm).
Use your package manager to install dependecies:
$ yarn install
# or
# npm install
# pnpm install
Run in development mode
$ yarn dev
# or
# npm run dev
# pnpm run dev
In this project, you can run the following scripts:
Script | Description |
---|---|
dev | Runs the app in the development mode. |
build | Builds the app for production to the dist folder. |
lint | Runs the Eslint and show code problems |
format | Runs the Prettier and fix code style |
preview | Builds the app for production to the dist folder, and run locally server. |
test | Run the app tests. |
test:watch | Run the app tests in watch mode. |
Absolute imports with @/ are configured in these files:
- vite.config.ts
- tsconfig.json
- Vite 5 - Next Generation Frontend Tooling
- React 18 - A JavaScript library for building user interfaces
- TypeScript - Why not?!
- EsLint - Pluggable JavaScript linter
- Prettier - Opinionated Code Formatter
- Husky - Native Git hooks
- Vitest - Testing library
- Commitlint - Linting your commits based on commit convention
- Tailwind CSS - Styling