Setu Web Library
This web library will have the following:
- UI Components
- UI logic
- Business Logic
Installation
Please follow the following steps to get started with developing the project locally.
1. Clone the repository
Clone the repository with the following command and setup the .env
or .env.local
file.
git clone https://bitbucket.org/farmsetu/setu-web-library.git
2. Install the dependencies
To install all the project dependencies, run the following command:
yarn install // or npm install
3. Run Storybook
To view the components in a sandbox, run the following command:
yarn storybook
Testing
You can run the tests with the following command:
yarn test-storybook
Build Project
You can build the library with the following command:
yarn build
Technology stack
- React - UI development library
- Vite - Build tool
- TypeScript - For static typing
- Storybook - For component development, documentation and testing