This project was developed with care and in the best way I could with the knowledge I have, I hope you enjoy it! ๐ฅณ
- Next
- ReactJS
- TypeScript
- Styled Components
- Storybook
- Jest
- React Testing Library
- Eslint
- Prettier
- Husky
- Commitlint
yarn
or
npm install
yarn dev
or
npm run dev
Open http://localhost:3000 with your browser to see the result.
โโโ src
โโโ __helpers__
โโโ components
โโโ pages
โโโ styles
Folder | Description |
---|---|
helpers | Functions to handle the tests |
components | Page components |
pages | Pages components |
styles | Application styles |
โโโ <MyComponent>
โโโ <MyComponent>.tsx
โโโ <MyComponent>.test.tsx
โโโ <MyComponent>.styled.ts
โโโ <MyComponent>.stories.tsx
โโโ index.ts
Files | Description |
---|---|
.tsx | Component implementation |
.test.tsx | Component tests |
.styled.ts | Component stylesheet using styled-components |
.stories.tsx | Storybook component |
index.ts | File to export the component |
dev
: run development serverbuild
: creates the production build versionlint
: runs the linter in all components and pagestest
: runs jest to test all components and pagesstorybook
: runs docs with storybook
Made with ๐ by Giovanna