Coder Social home page Coder Social logo

filecc / vite-boolflix Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 593 KB

A remake of a movie/series's database

Home Page: https://filecc-boolflix.vercel.app

HTML 0.76% Vue 87.41% JavaScript 8.65% SCSS 3.18%
database javascript pinia sass vue vue3 vuerouter4

vite-boolflix's Introduction

The Mooovie DB - coded by filecc

Live Site available at here

To run the project locally simply, git clone and

npm i
npm run dev -- --host

Table of contents

The Project

As part of Boolean Academy journey, I was asked to manipulate and use The Movie DB's API, to create some sort of "Netflix/Movie Database".

Links

My process

Built with

What I learned

I managed, finally, to completely work with Vue Router, to get users go through many pages on the same site, with no other HTML page then the index.html.

const routes = [
  { path: '/', component: () => import('../views/Home.vue')},
  { path: '/404', component: () => import('../views/NotFound.vue') },  
  { path: '/:pathMatch(.*)*', name: 'NotFound', component: () => import('../views/NotFound.vue') },
  { path: '/search',component: () => import('../views/Search.vue')},
  { path: '/movie/:name', component: () => import('../views/SingleItemDisplayDetail.vue') },
  { path: '/series/:name', component: () => import('../views/SingleItemDisplayDetail.vue') },
  { path: '/tv/:name', component: () => import('../views/SingleItemDisplayDetail.vue') },
  { path: '/actors/:name', component: () => import('../views/SingleActor.vue') },
];


const router = createRouter({
  history: createWebHistory(),
  routes
})

Thanks so much to ColorThief, for this wonderful piece of code that just change a color, but makes the APP just... amazing.

const r = colorThief.getColor(img)[0];
const g = colorThief.getColor(img)[1];
const b = colorThief.getColor(img)[2];

And thanks to Mohamed Ashraf, for his amazing work and sharing. arab

Request and Hint

If you have something to say just head up at Instagram or Twitter. ☺️

Author

vite-boolflix's People

Contributors

filecc avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.