Pokelist – poke.gg
A pokemon list company created for study and practice purposes.
Summary
Access website
Technologies
- TypeScript
- ReactJS
- Vite
- Redux Toolkit
- ChakraUI
- Emotion
- Lottie for React
- Storybook
- Vitest
- Testing Library
- I18next
- I18next-react
- Fontawesome
- Faker
- Eslint
- Lint-Staged
- Prettier
- Husky
Settings
How to install and run project
yarn && yarn dev
How to run storybook
yarn storybook
How to run tests
yarn test
yarn test:coverage
VsCode
The settings below are not mandatory but make it easier in development at Ide VsCode
- Create the
settings.json
file inside.vscode
, with the following settings:
{
"editor.codeActionsOnSave": {
"source.fixAll": true,
"source.fixAll.eslint": true
}
}
Internationalization
Internationalization done using i18next, if in doubt, please read the documentation I18next
Commands
dev
: runs the application and starts a local server athttp://localhost:{port}/
.build
: generate for production.storybook
: runs the stories from storybook.test
: runs vitest and testing library tests.test:coverage
: runs coverage tests.preview
: generates for production and starts a local server onhttp://localhost:{port}/
.lint
: runs the linter on all components and pages.format
: runs prettier to format all components and pages.
Development flow
- Print on terminal
yarn dev
to getting started
Production flow
- Type in terminal
yarn preview
- Publish the files