A full-stack, βSuper Saiyanβ level web application built with Node.js, Express, and EJS.
This project allows users to explore the vast universe of Dragon Ball Z β from iconic characters to distant planets β by pulling real-time data from the Dragon Ball API.
Browse a complete list of fighters with detailed stats, descriptions, and background information.
Discover legendary worlds from the DBZ universe β from Namek to Planet Vegeta.
View:
- Transformations
- Ki levels
- Origin stories
- Character stats
Instantly find your favorite warriors using the live search feature.
- Background music integration
- Smooth scroll-triggered animations using the Intersection Observer API
This project goes beyond visuals and implements production-level security practices:
- Secures HTTP headers
- Prevents clickjacking
- Protects against MIME sniffing
- Mitigates XSS attacks
- Protects against spam and bot attacks
- Displays a custom βLimit Breakβ error page when limits are exceeded
- Uses
encodeURIComponent()for safe URL handling - Leverages EJSβs built-in escaping to prevent XSS
- Validates API responses
- Prevents server crashes from malformed or unexpected data
- Backend: Node.js, Express.js
- Frontend: EJS (Embedded JavaScript), CSS3, Vanilla JavaScript
- API Interactions: Axios
- Security: Helmet, Express-Rate-Limit
git clone https://github.com/RSP-007/DBZ-Web.git
cd DBZ-Webnpm installnode app.jsOr, if you use Nodemon:
npm run devVisit:
http://localhost:3000
DBZ-MAIN
β
βββ node_modules/
β
βββ public/
β βββ styles/
β β βββ 404.css
β β βββ characters.css
β β βββ error.css
β β βββ main.css
β β βββ planets.css
β β βββ transformation.css
β β
β βββ audio-handler.js
β βββ card-observer.js
β βββ dbz-dragon-ball-z-goku-dragon-ball-super.jpg
β βββ dragon-ball-goku-sparks-gif-preview.gif
β βββ Dragon-Ball-Z-Logo-PNG-File.png
β βββ thisisbeatkitchen-beatkitchen-i-will-fight.mp3
β
βββ views/
β βββ 404.ejs
β βββ character-details.ejs
β βββ characters.ejs
β βββ error-limiter.ejs
β βββ index.ejs
β βββ planets.ejs
β
βββ .gitignore
βββ app.js
βββ LICENSE
βββ package-lock.json
βββ package.json
βββ README.md
This project is licensed under the MIT License.
See the LICENSE file for more details.
- Data provided by the Dragon Ball API
- Created by RSP-007 as part of a Web Development Portfolio project
