Dockerised website with a GraphQL backend and Vue frontend.
Note: Can now be run from Docker Hub without needing to clone the repo:
docker run -p 4000:4000 jamesworkaccount/github-user-search:latest
You will need a GitHub Personal Access Token to access this app. Read about them here.
In production mode, view the app on http://localhost:4000
.
In development mode, view the app on http://localhost:8081
.
As a prerequisite, install Docker. You shouldn't need to install Node or anything else. You may need to install Docker Compose if that didn't come with your installation by default.
docker-compose up
docker-compose -f dev.yml up
As a prerequisite, install Node. You may need to install Vue too (if you get any errors).
First, use cd app
to change directory to the /app
directory, where the bulk of the code is stored.
npm install
npm run app
Need two terminal windows:
npm run serve
(Vue frontend)node index.js
(Express/GraphQL backend)