The UNICEF AI4D Research Bank is part of Thinking Machines's overall push for open science through the AI4D (AI for Development) initiative which aims to accelerate the development and adoption of effective machine learning (ML) models for development across Southeast Asia.
This site itself is hosted on Github Pages and uses
the Vitamin template with customized simplified features
- Instructions on adding models and datasets are provided here.
- Vite with React, TypeScript and absolute imports.
- Tailwind CSS v3 with a basic reset for form styles and a Prettier plugin that automatically sorts classes.
- Use ESLint, stylelint and Prettier on VSCode and before you commit with Husky and lint-staged.
- PWA with 17/17 Lighthouse score.
- Write unit and integration tests with Vitest and Testing Library.
- Write e2e tests with Cypress.
GitHub Actions for automatic dependency updates, CodeQL Analysis, running tests and code coverage with Codecov.- Deploy to
vercel.com with pre-configured SPA fallback.Github Pages.
To see the instructions for original Vitamin template see this
Customizations made to the installation and setup instructions for the Research Bank site are now updated here:
pnpm dev
- start a development server with hot reload.pnpm build
- build for production. The generated files will be on thedist
folder.pnpm preview
- locally preview the production build.pnpm test
- run unit and integration tests related to changed files based on git.pnpm test:ci
- run all unit and integration tests in CI mode.pnpm test:e2e
- run all e2e tests with the Cypress Test Runner.pnpm test:e2e:headless
- run all e2e tests headlessly.pnpm format
- format all files with Prettier.pnpm lint
- runs TypeScript, ESLint and Stylelint.pnpm validate
- runslint
,test:ci
andtest:e2e:ci
.