GithubHelp home page GithubHelp logo

movies's Introduction

Filmdatabas

Repository for Filmdatabas playlist

Serie för att visa hur en kan skapa en webbapplikation för filmer. Applikationen använder sk. monolithic architecture, dvs. att den innehåller en server som pratar med databasen som sedan levererar views till användaren.

  • Stack är Node, express och mysql.

  • För views används pug tillsammans med sass/scss.

  • CRUD

  • Fortsättning

  • Regissörer, relation, en film kan ha en regissör, en regissör kan ha regisserat flera filmer. one to many

  • Genres, relation, en film kan ha flera genrer, här används en kopplingstabell. many to many

  • Extra, hur en kan använda custom bootstrap med projektet.

  • Extra, kodstil och automatisk formatering och linting med eslint och prettier.

  • Extra, prata med en extern API för att hämta bilder, https://www.themoviedb.org/

Icon credit, https://iconscout.com/icon/film-3

Setup

git clone https://github.com/jensnti/movies
cd movies
npm install

mysql create db;

import db från dump, _2021-05-05_150019_jens.sql

cp .env-example .env
nano .env
npm run dev

Kodstil

npm run format
npm run lint
{
  "semi": true,
  "tabWidth": 4,
  "printWidth": 80,
  "singleQuote": true,
  "trailingComma": "none"
}

TODO

movies's People

Contributors

jensadev avatar

Watchers

 avatar  avatar  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.