Skip to content

Coding Challenge: A CRUD of a website where users can lists movies and tv shows.

Notifications You must be signed in to change notification settings

adamelamrani/movie-series

Repository files navigation

Coding Challenge

This project has been created using the following technologies:

  • Vite - Next Generation Frontend Tooling
  • React - A JavaScript library for building user interfaces
  • TypeScript - TypeScript extends JavaScript by adding types
  • ESLint - Find and fix problems in your JavaScript code
  • Prettier - An opinionated code formatter
  • Testing Library - Simple and complete testing utilities that encourage good testing practices
  • Vitest - A test runner for Vite
  • React Router DOM - Declarative routing for React

Getting Started

First, install dependencies and run the development server:

yarn && yarn dev

Running Tests

yarn test

ESLint

yarn lint

TypeScript

yarn watch-ts

Folder Structure

.
├── public
├── src
│   ├── main.tsx
│   ├── App.tsx
│   ├── assets
│   ├── components
│   │   ├── card
│   │   ├── carousel
│   │   ├── header
│   │   ├── list
│   │   ├── nav
│   │   ├── scroll
│   │   ├── suggestion
│   ├── layouts
│   ├── pages
│   │   ├── details
│   │   ├── error
│   │   ├── movieDetails
│   │   ├── movies
│   │   ├── serieDetails
│   │   ├── series
│   ├── redux
│   │   ├── api
│   │   ├── reducers
│   │   ├── store
│   ├── types

Deployment

The project is deployed on Vercel.

Next steps

  • Add more tests
    • Integration tests for the components with requests
    • Unit tests for all the components
  • Add more features
    • Show a list of similar movies/series depending on your preferences
    • Add more information for movies and series
    • Add filters in each section
      • such as: genre, year, rating, etc.
  • Save the global state in the local storage
  • Add a loading template to always have a page structure, even if the data is not loaded yet

About

Coding Challenge: A CRUD of a website where users can lists movies and tv shows.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages