46ea3e5e55a407f89bfd95e706e805c3c548cbf0
- 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.
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
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.
888 KiB
Languages
Vue
72.6%
JavaScript
21.8%
HTML
3.9%
Shell
1.7%