$ git clone https://github.com/SanyamPunia/Sanyam.xyz.git
$ cd Sanyam.xyz
$ npm install
$ npm run dev
Create a .env.local
file & add the required env
in it.
SPOTIFY_CLIENT_ID=...
SPOTIFY_CLIENT_SECRET=...
SPOTIFY_REFRESH_TOKEN=...
YOUTUBE_API_KEY=...
YOUTUBE_CHANNEL_ID=...
HYGRAPH_ENDPOINT=...
Remove all of my personal information/content before using it as a template. Feel free to explore and contribute to the project. I'm open to all the PRs.
Next.js (v13.0 → v13.2)
head.tsx
and replace it using the metadata
object.generateMetadata
function.title-templates
to suffix title.experience
tab (state) inside the work
routeVercel Analytics
for gathering portfolio stats such as number of visitors & web vitals data.api
routes from pages/api
to app/api
get-artist
get-now-playing
get-yt-stats
buildRedirect
inside async redirects()
Next.js (v13.2 → v13.4)
@next/font
to next/font
using Codemon
Next.js (v13.4 → v14.0)