Code Monkey home page Code Monkey logo

love-bonito-challenge's Introduction

Love, Bonito VueJS Frontend Developer Challenge

This is a submission to this Challenge

About the App

The web app fetches and displays a list of locations and characters from the public Rick and Morty's API. It covers 6 challenges which match the 6 merge pull requests from 6 different branches. You can visit the challenge link given above to see more details about each challenge.

Important note about unit testing

The unit tests after Challenge #4 have been commented because they fail to mock the Dexiejs library. A proper Jest implementation for Dexie could not be found.

You are welcome to fork the project , add an implementation and give a pull request.

Some helpful links -

Alternatives

  • Unit testing of Vue with Cypress
  • Replace Dexie with plain vanilla IndexedDb and write unit tests directly for indexedDb.

Core libraries / frameworks used -

  • Vuejs as main framework
  • BootstrapVue for styling
  • Dexiejs for storing in IndexedDb
  • Axios for calling APIs
  • Jest for unit tests
  • Cypress for end-to-end tests
  • EsLint for lint tests

Deployment

It has been deployed to Vercel using CI here

Project setup

Clone the project and run following commands

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Run your audit

npm audit

Lints and fixes files

npm run lint

Run jest end-to-end tests

npm run test:e2e

Run cypress unit tests

npm run test:unit

Customize configuration

See Configuration Reference. ).

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.