Source code for the Ultimate Vue.js Developers Course.
See the completed project here: http://vuejs-poster-shop.vuejsdevelopers.com/
-
Register Oauth 2 access to the Imgur API.
Register for OAuth 2 authorization without a callback URL. You can name your application anything you like and you don't need a callback URL. The important thing is that you get a client ID.
-
Install this code on your local system
Option 1 (recommended)
-
Fork this repository (see top right corner)
-
Clone the forked repository on your local file system
cd /path/to/install/location git clone git@github.com:[your_username]/vuejs-poster-shop.git
Option 2 (easier)
This option is better if you're not a Github user or are not sure how to setup SSH keys
cd /path/to/install/location git clone https://github.com/vuejsdevelopers/vuejs-poster-shop.git
-
-
Install dependencies
npm install
-
Create a
.env
file by copying the samplecp .env_sample .env
Now edit the .env file and replace the
IMGUR_CLIENT_ID
with the client ID provided in the pre-installation -
Start project
npm run start
-
Your site will be available at localhost:[PORT] where
PORT
is whatever value is set in your.env
file.