Experimental Vue-only frontend for vglist.
MIT License
An experimental frontend made entirely in Vue for vglist.
yarn install
.git clone https://github.com/connorshea/vglist.git
(probably in a separate directory), see the instructions in the CONTRIBUTING.md for the backend project to set it up.Local vglist Vue frontend
http://localhost:8080
read write
.env.development.local
file in vglist-frontend with the following content:VUE_APP_OAUTH_CLIENT_ID=$VGLIST_EXPERIMENTAL_FRONTEND_OAUTH_ID_LOCAL
VUE_APP_REDIRECT_URL=http://localhost:8080
VUE_APP_VGLIST_HOST_URL=http://localhost:3000
VUE_APP_OAUTH_CLIENT_ID
:
VGLIST_EXPERIMENTAL_FRONTEND_OAUTH_ID_LOCAL
(probably in your .bash_profile
or .zsh_profile
) and set it to the "Application UID" you got before..env.development.local
with the value of the Application UID.yarn serve
and the frontend should be available at http://localhost:8080.yarn serve
yarn build
yarn test:unit
yarn lint
Note: Instead of these manual steps, you can instead use bundle exec rake graphql:copy_to_frontend
in your vglist
directory to generate and copy the files.
vglist
Rails app, run bundle exec rake graphql:schema:dump
to generate a dump of the GraphQL schema.schema.graphql
file to the vglist-frontend directory, probably with cp schema.graphql ../vglist-frontend
.yarn run generate
to regenerate the GraphQL types.vglist-frontend's source code is licensed under the terms of The MIT License.
Icons are courtesy of Font Awesome, licensed as CC-BY-SA 4.0.