Giter VIP home page Giter VIP logo

moein-bld / vue-rest-countries Goto Github PK

View Code? Open in Web Editor NEW
7.0 1.0 0.0 310 KB

This is a project that uses "REST Countries API" to pull information about countries in the world and display their information.

Home Page: https://vue3-rest-countries-api.vercel.app

TypeScript 15.16% HTML 1.56% JavaScript 2.93% Vue 78.82% CSS 1.53%
vue-router vue3 rest-countries-api typescript vue vuejs rest-countries-vue tailwindcss

vue-rest-countries's Introduction

REST Countries API with color theme switcher

This is a solution to the REST Countries API with color theme switcher challenge on Frontend Mentor. The challenge was to integrate with the REST Countries API to pull country data and display it like in the designs. This project was built to practice Vue.js and GitHub flow.

Live Site URL: https://vue3-rest-countries-api.vercel.app/

Features include:

  • Loading animiation before API request completes
  • Colour theme switchter (Dark Mode)
  • Search bar that automatically filters results
  • Dropdown filter to filter results by continent
  • Border country links to other countries
  • A back button which is based on user history
  • Repositories pattern for api
  • Dockerize App

Recommended IDE Setup

VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).

Project Setup

pnpm install
yarn
npm i

Compile and Hot-Reload for Development

pnpm dev
yarn dev
npm run dev

Type-Check, Compile and Minify for Production

pnpm build-check
yarn build-check
npm run build-check

Compile, Build a docker image, and run

Install docker first if not installed - one time

brew install docker

Run Docker if not running (macos)

open --background -a Docker

docker build -t my-app .
docker run -d -p 3000:3000 --env-file config/.env my-app

Open browser to: http://localhost:3000

vue-rest-countries's People

Contributors

moein-bld avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.