Skip to content

livecodebase/mini-netflix

Repository files navigation

Mini Netflix

This mini project fetches a list of movies from the "OMDb API" and renders them on the homepage. When a user clicks on any movie poster, they are redirected to a detailed page displaying more information about the selected movie.

Recommended IDE Setup

VSCode + Volar (and disable Vetur).

Project Setup

npm install

Add .env file

Create .env file inside project directory with the below variables. Make sure to add your own OBMI_API credentials. You can change VITE_OBMI_DEFAULT_SEARCH to see differnt results by default.

VITE_OBMI_API_KEY='YOUR_OBMI_API_KEY'
VITE_OBMI_DEFAULT_SEARCH='YOUR_OBMI_DEFAULT_SEARCH'
VITE_API_URL='https://www.omdbapi.com'

Compile and Hot-Reload for Development

npm run dev

Compile and Minify for Production

npm run build

Lint with ESLint

npm run lint

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published