Overview
This is a memo on using GakuNin RDM from Next.js.
Background
In the following article, I introduced how to authenticate with GakuNin RDM using NextAuth.js.
As an extension of this, I prototyped a Next.js app that loads data from GakuNin RDM.
Demo
This is limited to those who can use GakuNin RDM authentication, but you can try it from the following link.
For example, below is a page for viewing the list of connected storage.

Here is the list of folders and files in the selected storage (in this case, osfstorage).

Below is an example of referencing files registered in figshare.

I found it convenient that data stored in various storage services such as osfstorage, figshare, and GitHub can be accessed through a common API.
The GitHub repository is as follows.
https://github.com/nakamura196/rdm_app
Summary
At the current stage (only loading data), there is no particular advantage to using this app, but I hope to leverage GakuNin RDM data in the future through integration with other applications.
I hope this serves as a useful reference.