Skip to content

kuza2010/website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

danilin-website.vercel.app

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.

Set up environment variables

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...

Run on local machine

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

Built using: