# Build a 40-line vanilla JavaScript movie card with a movie API

Learn how teachers can guide students to build a 40-line vanilla JavaScript movie card using a secure local backend route and amodb.

Published Nov 30, 2026. Length 0:34. 0 comments.

Watch: https://amodb.dev/videos/build-a-40-line-vanilla-javascript-movie-card-with-a-movie-api-short/

## About this video

Teaching beginner web development? Exposing secret API keys in student client code leads to leaked credentials on GitHub and frustrating rate limit bans during class.

By routing requests through a simple server bridge, students practice DOM manipulation in 40 lines of vanilla JavaScript while your secret key stays completely protected.

Explore predictable prepaid plans with TMDB v3 compatibility and start building classroom projects today.

## Transcript

Never let coding students put secret API keys in browser JavaScript.

When 30 students push client keys to GitHub, bots burn your quota and rate limits freeze the whole lesson.

Build a tiny backend bridge with amodb. Your secret key stays on the server, keeping student traffic safe and compliant.

Students fetch your route and get clean TMDB compatible data. In 40 lines of vanilla JavaScript, they render the poster, title, year, and rating.

Choose the Pro plan for 40 requests a minute, prepaid with no auto renew. Get an API key at amodb dot dev.

## Related pages

- [Javascript movie API](https://amodb.dev/javascript-movie-api/)
- [Movie poster API](https://amodb.dev/movie-poster-api/)
