Git Product home page Git Product logo

personality-card-vue's Introduction

Personality Card

Live Demo

Tasks

The following tasks were preformed in order:

  1. Created a basic Nuxt.js app using create-nuxt-app and the following options:

    • Programming language: TypeScript
    • Package manager: Yarn
    • UI framework: None
    • Template engine: HTML
    • Nuxt.js modules: None
    • Linting tools: ESLint, Prettier
    • Testing framework: None
    • Rendering mode: Single Page App
    • Deployment target: Server (Node.js hosting)
    • Development tools: None
    • Continuous integration: None
    • Version control system: Git

  1. Installed and configured tailwindcss.
  2. Added custom colors and size values to the tailwind config file tailwind.config.js
  3. Created a basic PersonalityCard component.
  4. Created a vuex store in store/user.ts for the PersonalityCard component's state.
  5. Installed and integrated axios to fetch data from Random Data API.
  6. Displayed fetched data on the card component.
  7. Added a placeholder bio to the fetched user using the lorem-ipsum package.
  8. Implemented a random student button.
  9. Split the PersonalityCard into multiple components:
    ChipLabel, PersonalityCard, PersonalityCardDetails, PersonalityCardHeading, StyledHeader
  10. Made the card responsive and applied minor visual tweaks.
  11. Adjusted the layout of PersonalityCardHeading to be vertical on small screens.
  12. Added a loading spinner component: LoadingSpinner.
  13. Handled text overflow on the ChipLabel component.
  14. Added service worker caching by adding the @nuxtjs/pwa package and modifying the nuxt.config.js file according to the docs.
  15. Replaced the loading spinner with a loading skeleton component: LoadingSkeleton.
  16. Replaced error text with a proper template and a more clear message.
  17. Updated the package name and app title.
  18. Switched font to Catamaran using the @nuxtjs/google-fonts package.

Installation

  1. Clone the repository.
  2. Install the necessary dependencies by running yarn install.
  3. Start the development server with yarn dev.

personality-card-vue's People

Contributors

yaredtaddese 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.