This is the frontend for the CrimsonHacks registration system. Written in Vue with vue-router
for routing and vue-apollo
for store and remote data retrieval. Please use yarn for package management as it's just better.
First install global dependencies (vue-cli
is optional but is nice to have with vue development):
npm install -g yarn vue-cli graphql-faker
Next use yarn to install all packages and peer dependencies:
yarn install
Run GraphQL mocking server with graphql-faker
:
cd mocking
graphql-faker ./name-test.grphql
Run frontend development server with yarn:
yarn run serve
This repo uses eslint
with the AirBNB JavaScript Style Guide. We use semicolons as removing them can be ambiguous and confusing. Code should also have documentation comments where appropriate.
yarn run serve
yarn run build
yarn run lint
yarn run test:unit