danielschuster-muc / potter-db

A Harry Potter database for all your wizarding needs: Books, Characters, Movies, Spells, and Potions. Powered by https://github.com/danielschuster-muc/scrabby

Home Page:https://potterdb.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature Request]: Create Book Pages

danielschuster-muc opened this issue · comments

Project

Website (Potter DB Search)

Describe the feature you want to request

The API also provides data for Books and Chapters from the Harry Potter Universe.
Therefore there we should add pages for books, too.

(Optional) Describe a solution for this feature

Create a page to list all books (similar to the movie list) and a general slug-based page for detailed information about a specific book (such as here).

For the fetching of the data make sure to also create a new load_books.js file similar to this one, this should also fetch individual chapters of each book.

The AccordionList in the DetailsPage should contain the different chapters (e.g. name as and summary as the array content).

You also should link the books page in the footer.

Make sure to have the same layout and folder structure like other pages (characters, movies, spells, potions).

If you have any questions, feel free to leave a comment below.

In which language do you want to make Book pages? Is it React.js or Next.js?

It‘s Next.js and MUI, just look how I did it with the other pages.

If no one is taking this issue I can do it.

Yes you can do it :)

@chintan0513 is not hard to do the pages, you have the other pages that you can copy from.

If @chintan0513 is ok with it, you can work on it @eduardconstatin.

If @chintan0513 is ok with it, you can work on it @eduardconstatin.

Ok

Seems it's mine after all

Yep, I guess, that's why I assigned it to you.