Skip to content

A full stack application that displays a gallery of anime that aired in April 2023.

Notifications You must be signed in to change notification settings

DessertWarrior/NetAnime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NetAnime | Anime Search Engine

Tech Stack

Vite React JavaScript CSS3 HTML5 Bootstrap JWT React-Router

Node.js Express.js PostgreSQL Docker

Git npm VS Code

Discord GitHub

This is a full stack application that displays a gallery of anime that aired in April 2023. The front end is built using Bootstrap and React, while the back end is built with Express. The data is fetched from a database and dynamically present the changes on the webpage.

Features

  • Click on a card to reveal detailed information about the anime fetched from the server.
  • Click the edit button to modify the anime information. Once clicked, a list of text boxes will pop up for the user to edit the information. If the user modifies the score, it will be color-coded based on its value. A score of 7 or higher will be green, a score of 4 or higher will be yellow, and anything below 4 or not a number will be red.
  • When editing the genre portion, the user can add different genres by separating them with a comma.
  • All modifications are dynamically presented on the anime information, and once the user click the save button, a patch request will be sent to the server to insert the new data to the database.
  • Click the plus icon to create an empty card, and once the user edits the card and clicks save, a post request will be sent to add a new data to the database.
  • Click the delete icon to remove an anime from the gallery. The website will get the current anime page information and delete the anime from the database.
  • The search and category options allow the user to sort out the animes in the gallery based on keywords.

Technologies Used

  • Bootstrap
  • React
  • Express

How to Run the Application

  1. Clone this repository. NetAnime
  2. Install the dependencies using npm run packages.
  3. Create docker images for docker by using docker-compose up -d
  4. Start the development server using npm start.

MAKE SURE TO SET A NEW BCRYPT PASSWORD AS CURRENTLY IT IS strongPassCode001 in .authorization.key.

npm run packages
cd server
docker-compose up -d
cd ..
npm start

Improvements

  • Given the 2-day timeframe of the project, there were limitations on the features that could be implemented by my own. There is room for improvement in terms of functionality and UI/UX design.
  • The collapse transition for the category section could be smoother. This is because the application uses Bootstrap, which relies on default CSS styles. The login function has not yet been implemented. In the future, it would be necessary to use cookies to store user account information.
  • An authorization feature could be added, where if a user enters an admin account, they would be granted permission to make changes and send them to the server. If a user is not an admin, they would be redirected to the register form. All features would still be available, but changes would not be able to modify the database. Instead, modifications would be stored in a JSON file. Once the user logs in, these changes would be reflected only to the specific user.

Updates

V.1.1

  • Added React routers for each card
  • Added JsonWebToken Authorization method.
  • Added Secured Authorization method for some routes
  • Improved UI/UX for some components.

Conclusion

This Anime Gallery Full Stack Application provides a user-friendly interface for browsing and editing anime information. It has default server request http methods for the user to GET, POST, PATCH, and DELETE anime from the database, as well as search and sort the gallery based on keywords.

About

A full stack application that displays a gallery of anime that aired in April 2023.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published