The FairWear app is a mobile application designed to help users make environmentally and ethically conscious choi ion designed to help users make environmentally and ethically conscious choices when shopping for ces when shopping for clothes. By using the app's scanning feature, users can scan the barcode of a garment, and the app will provide a rating for its environmental impact, ethical practices, and animal welfare.
- Node.js (version X.X.X or higher)
- npm (version X.X.X or higher)
- Clone the repository.
- Install dependencies by running the following command:
npm run install-legacyIn order to run it in development, run:
npm run dev In order to do a production build, run:
npm run build # yarn buildTo preview the built project locally, run:
npm run previewTo run ESLint for linting your code, run:
npm run lintThis will check the code in the src and tests directories for any linting errors.
To run tests using Jest, run:
npm testThis will execute the tests using the Jest configuration from config/jest.config.ts.