Web app that lets users browse countries from the Rest Countries API.
- Display countries list fetched from API
- Sort by name
- Filter countries:
- That are smaller than Lithuania by area
- That are in 'Oceania' region
- JavaScript library: React
- TypeScript support: TypeScript
- Testing: Jest / React Testing Library / Jest-DOM / User Event / MSW
- Styling: CSS Modules with SASS
- Code linting: ESLint
- Code formatter: Prettier
- Style linting: Stylelint
- Pre-commit hook for formatting and linting: Husky and lint-staged
- Build tool: Vite
- Package manager: pnpm
Rename .env.example
to .env
and put your API environment variables in it
mv .env.example .env
# If you want to create a Git repository and use Git hooks
git init
# Install dependencies
pnpm i
# Run in the development mode
pnpm dev
# To make the development server accessible on a different device, run
pnpm start
To enable all app development features, you will need the following VS Code extensions