Skip to content

AniStream is a streaming application built on NextJS that showcases popular animated shows by popularity, alphabetical order, random, type and ongoing.

Notifications You must be signed in to change notification settings

Zwill1/AniStream

Repository files navigation

AniStream

Project Description

AniStream is a streaming application built on NextJS that showcases popular animated shows by popularity, alphabetical order, random, type and ongoing.

The profile cards of the shows can be clicked and show the description of the show, the title, show rating, show score, episode count, when the show aired and the status of it. The anime profile includes screenshots of the show, promotion videos embeded on the page and a link to MyAnimeList anime profile for further information.

Home page showcases a endless page scroll on popular shows in order. AniStream allows a user to sign in with credentials or a GitHub account including the ability to sign out using server sessions.

The account profile shows stats of anime and manga watched. The profile section comes with anime and manga history tabs which display lists of recent activity or updated shows/series watched on the right side as well as buttons under the profile image for access to those pages.

All data for anime shows, profile stats are called from either an external API and local JSON files.

AniStream URL configurations

The intent for SEO friendly URL was to provide an ID for the anime with an SEO frieldly slug in the URL consisting of the name of the show

Example: "/anime/5114/fullmetal-alchemist:-brotherhood"

ID Config

  • Gets the ID from the API
  • Adds it to the URL.

Slug Config

  • Gets the title from the API
  • Replace all incoming url names that have "_" with "-" for SEO friendly URL's
  • Add that after the ID.

Find out more about dynamic routing: https://nextjs.org/docs/app/building-your-application/routing/dynamic-routes

How does the application load more anime shows to the page?

The green "Load More" button loops over the action of loading the next row of shows depending on the category selected. The loop increments and keeps track of the count with a limit of 6 loading per click.

How to run this application

npx next dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Inter, a custom Google Font.

Logging in with Credentials Provider

Credentials for this project are hardcoded.

Log in Details

admin
password

NPM Packages

API for Show Collections

Anime - https://shikimori.one/api/doc/1.0/animes

Example Data: https://shikimori.one/api/animes/51009

About

AniStream is a streaming application built on NextJS that showcases popular animated shows by popularity, alphabetical order, random, type and ongoing.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages