Giter VIP home page Giter VIP logo

continuity-fe-homework's Introduction

continuity-fe-homework

This project runs own faked server with simple DB setup. All actions are persistent, so be aware of that.

By default db runs on http://localhost:3000/ Vue usually http://localhost:8080/

Used stack

Vuetify, Axios, vue-i18n, Typescript with a lot of decorators. I planned to use http://rollbar.com for error tracking, but I did not have time for the setup at the end. Cypress and Jest were included, but not used :( ...

Functionality

DB server is customized to match requirements from the homework description. Whole implementation is using BE-driven pagination, sorting and filtration. Simple translations to SK are included too :)

Possible improvements, opinions with experience sharing

In real world I'd use some sort of route guard mechanisms. Also, I'd make most of the calls to Vuex in route parts.

Reasoning is simple - that way components would be less dependable and better testable.

What about errors?

Simple error 404 will show when manipulating with medium with title: "THIS WILL THROW 404"

Network error can be simulated via chrome network tab (or just shutdown the db server manually)

Warnings ??

Yes, U will see a bunch of warning during compilation - I tried to solve it but without success. See webpack/webpack#7378

Project setup

npm install

Run whole project simultaneously

npm run serve-both

Compiles and hot-reloads for development

npm run serve

Compiles and run DB server

npm run serve-db

continuity-fe-homework's People

Contributors

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