Skip to content

Zorkham/alpine-movie-db

Repository files navigation

Alpine Movie DB

Alpine Movie DB is a simple movie database application built with Alpine.js. The application allows users to search for movies, tv shows and people. The application uses the TMDB API to fetch all data.

Demo: alpine-movie-db.vercel.app

Preview

Features

  • Movies Views: Users can see popular, now playing, coming soon, top 100 movies.
  • Popular TV Shows: Users can see popular, airing today, on tv, top 100 tv shows.
  • Popular Peoples: Users can see popular peoples.
  • Search Movies: Users can search for movies by title.
  • Search TV Shows: Users can search for tv shows by title.
  • Search Peoples: Users can search for peoples by title.
  • Local Storage: The application uses local storage to persist data.
  • Responsive Design: The application is responsive and works on all devices.

Tech Stack

JavaScript TypeScript Alpine.js HTML5 CSS3 Tailwind CSS ESLint Prettier Jest Cypress Cucumber PNPM Vite Vercel

Getting Started

To get started with this project, follow these steps:

  1. Clone the repository:
git clone https://github.com/zorkham/alpine-movie-db.git
  1. Install dependencies:
pnpm install
  1. Run project locally:
pnpm dev
  1. Open your browser: Go to http://localhost:3000 to see the app in action.

Testing

This project uses Jest, Cypress, and Cucumber for testing. To run the tests, use the following commands:

  • Unit Tests:

    pnpm test
  • E2E Tests:

    pnpm test:e2e
  • All Tests:

    pnpm test:all

Other Projects