Skip to main content

APIs

Let's discover Otakudesu API.

Open Contributing

Feel free to PR the project.

Getting Started

Get started by take a look for the api.

Or try pull the project with Next.js 14 API.

What you'll need

  • Node.js version 18.0 or above:
    • When installing Node.js, you are recommended to check all checkboxes related to dependencies.

Generate a new .env file

Generate a new .env file by copy this example file.

After that, install the depedencies by the command:

npm install

or

pnpm install

or

yarn install

You can type this command into Command Prompt, Powershell, Terminal, or any other integrated terminal of your code editor.

Pull Project

Run the development server:

cd otakudesu-be
npm run dev

The cd command changes the directory you're working with. In order to work with your newly created Docusaurus site, you'll need to navigate the terminal there.

The npm run dev command dev runwebsite locally and serves it through a development server, ready for you to view at http://localhost:3000/.

Open src/app/api (this folder) to see these route: the data reloads automatically by data on otakudesu main website. Also it displays on application/json.