Dan Dobos 46ea3e5e55 chore: update dependencies and refactor Vuex store for country data
- Updated dependencies in package.json to latest versions for axios, bulma, core-js, vue, vuex, and testing libraries.
- Refactored actions.js to use the new REST Countries API v3 with a fallback to v2, improving error handling and data mapping.
- Simplified Vuex store structure by defining state and mutations directly in index.js, removing unnecessary imports.
- Updated mutations.js to use a consistent naming convention for setting countries.
- Cleaned up state.js to maintain a clear structure for Vuex state management.
2025-10-16 17:24:58 +02:00
2022-01-21 11:34:23 +01:00
2022-01-21 11:34:23 +01:00
2022-01-21 11:34:23 +01:00
2022-01-21 11:34:23 +01:00
2022-01-21 11:34:23 +01:00
2022-01-21 11:34:23 +01:00
2022-01-21 11:34:23 +01:00
2022-01-21 11:34:23 +01:00

worldcountries

A small responsive app build with Vue, Vuex, Axios and Bulma. It calls the restcountries API, visualizes the list of countries, and shows detailed information for each country in a modal.

Project setup

clone the project to your local drive with 
git clone https://github.com/dadobos/worldcountries.git

go inside the project with
cd worldcountries

install the packages with
npm install

start the project with
npm run serve

it is now available in your browser on http://localhost:8080/


start testing with
npm test

check full coverage with
npm run coverage

S
Description
A small responsive app build with Vue, Vuex, Axios and Bulma. It calls the restcountries API, visualises the list of countries, and shows detailed information for each country in a modal.
Readme
888 KiB
Languages
Vue 72.6%
JavaScript 21.8%
HTML 3.9%
Shell 1.7%