Next.Js Example

personal site, blog and portfolio. Build using Next.js

March 10th, 2023

personal site, blog and portfolio. Build using Next.js 's picture

About:

🎧 The source for my personal site, blog and portfolio. Build using Next.js and hosted on Vercel.

Hi! I'm Cory. 👋🏻

This is the code for my personal website and portfolio. Built using Next.js and deployed on Vercel.

Built with:

Submodules

Git submodules are used to split out different assets from the core application. Media is private and fetched at build time using vercel-submodules.

  • Media: public/static/images/media

Technologies Used:

README.md:

APIs

Books

Request typeURIParamsGET/api/booksNone

This API returns the books I'm currently reading on Oku, transformed from the RSS feed available on the appropriate collection.

Movies

Request typeURIParamsGET/api/moviesNone

This API returns the movies I've recently logged on Letterboxd, transformed from the RSS feed available on my profile.

Movies

Request typeURIParamsGET/api/music{ type?: string; limit?: string; format?: string; period?: string }

This API returns the music I've recently listened to and scrobbled to Last.fm. It supports several parameters, namely type which is used to determine what whether albums, artists or tracks are returned. The limit parameter controls the number of entries in te response. The format parameter controls the response format (XML or JSON) and the period parameter controls the time period covered in the response.

TV

Request typeURIParamsGET/api/tvNone

This API returns the tv episodes I've recently logged on Trakt fetched from their API.

Webfinger

Request typeURIParamsGET/api/webfingerNoneGET/.well-known/webfingerNone

This returns a response consistent with the Webfinger specification intended to make discovery on open platforms like Mastodon easier (e.g. searching for anything@coryd.dev will yield my profile in search).

Webmentions

Request typeURIParamsGET/api/tv{ target: string }

This returns webmentions for a given post on my site, with the target parameter accepting a url for the target post.

Share this:

Nedx © 2023