https://github.com/fabien0102/cashmachine-careship
Careship technical task
https://github.com/fabien0102/cashmachine-careship
Last synced: 7 months ago
JSON representation
Careship technical task
- Host: GitHub
- URL: https://github.com/fabien0102/cashmachine-careship
- Owner: fabien0102
- Created: 2018-04-10T16:54:16.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-10T17:13:34.000Z (over 7 years ago)
- Last Synced: 2025-03-20T03:01:56.790Z (7 months ago)
- Language: JavaScript
- Size: 115 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cash machine - Careship®
https://quizzical-johnson-ea7214.netlify.com
[](https://app.netlify.com/start/deploy?repository=https://github.com/fabien0102/cashmachine-careship)
Simple cash machine as a technical test for Careship®.
This project is build with:
- vuejs (frontend)
- vue-apollo (frontend - graphql client)
- jest (testing)
- graphql-yoga (backend)
- netlify (hosting)## Build Setup
``` bash
# install dependencies
yarn# serve with hot reload at localhost:8080 and backend at localhost:9000
yarn start# build for production with minification
yarn build:vue# build for production and view the bundle analyzer report
yarn build:vue --report# build for production vue application and lambda functions
yarn build# run unit tests
yarn test:unit# run e2e tests
yarn test:e2e# run lint tests
yarn test:lint# run all tests
yarn test
```## Playing with the API
The GraphQL API is serve by a netlify lambda function.
You can start the API alone with `yarn start:lambda` and go to http://localhost:9000/playground for playing.
Example of query:
```graphql
{
notes(amount: 120)
}
```Enjoy ;)
## Notes
It's my first project with vuejs, be nice ;)