Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/videsk/quiz-vue-chart
Quiz for select a frontend developer
https://github.com/videsk/quiz-vue-chart
Last synced: 3 days ago
JSON representation
Quiz for select a frontend developer
- Host: GitHub
- URL: https://github.com/videsk/quiz-vue-chart
- Owner: videsk
- Created: 2020-04-15T21:07:47.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-03-04T12:31:08.000Z (over 1 year ago)
- Last Synced: 2023-03-06T12:16:57.232Z (over 1 year ago)
- Language: Vue
- Size: 3.63 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 26
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Quiz Vue Charts
Thanks for apply to Videsk! First you need understand this is a process for select the best candidates, is not a part of the job, only we want see how you code this problem.
In this case we want know how you can adapt using Vue with Frappe Charts.
## Repository info
All npm packages are included in package.json, only need execute `npm install`.
For start dev server: `npm run serve`
The file `App.vue` have the example, you can delete or use it.
## The problem
**First need fork this repo, not send PR**.
We need you can plot a simple JSON that's received by a REST API endpoint in a chart. To do this need understand how works `axios` and `frappe-charts`.
The idea is see how you manage asynchronous functions and plot the data. The endpoint where you need do a `GET` method is `/5e975f3d2940c704e1d8be6a`.
**The complete endpoint is `https://api.jsonbin.io/b/5e975f3d2940c704e1d8be6a`, but axios is configured for send request with necessary headers.** (If you want see how, go to `axios.js` file).
The endpoint return a JSON schema with:
```js
[
{
month: 4, // Month from 1 to 12
answered: 84, // Total calls received in the month
abandoned: 45, // Total calls abandoned in the month
transferred: 13, // Total calls transferred in the month
}
]
```This data needed plotted to chart with `frappe-chart` in pure ES6. **Not using `vue-frappe`**. For this you need choose the correct chart.
## Where send?
When you finish, please send the URL of repository to `[email protected]` or add to `[email protected]` like contributor (In case be private repository).
## Extra
Extra points if you can show in right side of chart the number of answered, abandoned, transferred calls and selected month when interact with a point or bar in chart.
`Tip: Click event`
## Docs
- Frappe docs: https://frappe.io/charts
- Axios docs: https://github.com/axios/axios## What use this repository?
For this repository we use JSONBin for static DB, Vue,
## Copyrights
This repository and quiz is completely open-source with MIT license. You can share with your friends.