Skip to content

miquelromero/vue-apollo-airlines-crud

Repository files navigation

airlines-crud

This is just a Vue.js + GraphQL crud for testing purposes. Includes both client (vue-apollo) and server (apollo-server).

Quick setup

npm install

In order to have everything up and running in development mode, you need to build and start both client and server.

npm run apollo
npm run serve

Then you will have your server running at:

http://localhost:4000/graphql/

And your client at:

http://localhost:8080/

Server

Compiles and hot-reloads for development

npm run apollo

Compiles and hot-reloads for production

npm run apollo:start

Client

Compiles and hot-reloads for development

npm run serve

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Run your tests

npm run test

Lints and fixes files

npm run lint

Run your end-to-end tests

Before running end-to-end tests you need to have apollo server running

npm run test:e2e

Run your unit tests

No units yet

npm run test:unit