A personal website built using Vue, Nuxt.js, Chakra UI. Used Nuxt content for blogs, Context Api for app theme. Feel free to copy and use.
To run it on your machine you need to provide some environment variables. These variables will use for fetching your current playing track from Spotify. So, the variables:
- CLIENT_ID your client id, find it here
- CLIENT_SECRET your client secret, find it here
- REFRESH_TOKEN a permanent refresh token, for more information see Spotify token
- API_BASE_URL base rest api url, in [dev] environment value always is:
http://localhost:3000/
and should ends with/
.
Example:
- CLIENT_SECRET=AQDo...
- CLIENT_ID=8eb...
- REFRESH_TOKEN=09M...
git clone https://github.com/kuza2010/website.git
cd website
npm install
# make sure that you have provided env variables
# npm 9.5.0 node 14.21.3
npm dev