Frontend for what.pm, where I track my book, movie and tv show consumption. It runs on VueJS and is deployed to Netlify.
First, clone the repo:
git clone git@github.com:nienkedekker/whatpm-client.git
Then, install the dependencies by running npm install
. You can use yarn, but make sure to delete the package-lock.json
file then.
Open the repo in your favorite code editor and create a new file in the root called .env
. Copy what's in .env.dist
. You may not have a value for the key VUE_APP_API_BASE_URL
at this point - we'll get to that.
Run the project with npm run start:dev
and go to localhost:8080
.
When you open the app you might get an error saying it's not able to connect to the API. If that's the case, follow the instructions for whatpm-server. Once you have that up and running, copy the URL the server's running on and use that as the value for VUE_APP_API_BASE_URL
in your .env
file.