Giter Club home page Giter Club logo

kmodipa / the-movie-database-project Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 309 KB

A simple web application with only two functions, to search and like your favourite movies. You can build your own movie favourite list and access it anytime you want. The application is pulling the data from the public movie database API https://www.themoviedb.org/documentation/api.

Home Page: https://movies-list.web.app/

License: GNU General Public License v3.0

JavaScript 18.80% TypeScript 53.19% HTML 11.63% SCSS 16.38%
angualr2 typescript scss html5 node expressjs mysql-database rest-api javascript

the-movie-database-project's Introduction

The-Movie-Database-Project

The-Movie-Database-Project

Example screenshort

Screenshot 2021-02-19 at 22 42 11

This is a simple web application that makes use of the The MovieDB API to get and display movies. No complicated functionality here. I will improve the project over time.

The break down

  • The Project is in two parts for separation of concerns, the Angular client and the nodejs backend
  • The 1st thing to do was to request an API key from The MovieDB API to make sure I have access to fetch the movie list.
  • Before fetching the movie list create a login-button, contact-us button, logOut-button, favorites-buttons and home button.
  • Fecth the movie list and display it to the landing page, 9 items per page.
  • Create a modal for showing movie details
  • Create a separate contact-us page to display my details.
  • Create a separate favourite-list page to display my movie favourites.
  • create a login modal for the user.
  • Create 'Add to Favourites' button.
  • Create a Nodejs + expressjs server.
  • Configure MySQL database locally and link it to the node + express application.
  • Add login endpoints/controller.
  • Add movie-favourites endpoints/controller.

Tech stack and why the choice

  • Angular with typescript -> currently I am way familiar with Angular than the other js front-end client frameworks and libraries.
  • SCSS -> scss offers way more features to work with compared to the plain old CSS ๐Ÿ’…, and it's much more pleasing to write.
  • Nodejs with express -> Node is just that good and this was also an up-skilling project for me interms of Nodejs since I do not use it on a daily.
  • MySQL -> rational DB's make's it easy to store and organize data, at least for me ๐Ÿ˜…

How to Clone and Run

(Front-End)

  • Firstly you will need to clone the project ๐Ÿ‘‰ git clone https://github.com/kmodipa/The-Movie-Database-Project.git.
  • Secondly open your iTerm or terminal and navigate to The-Movie-Database-Project/Front-End/The-Movie-Database-Project/.
  • Thirdly run the command npm install to install the packages ๐Ÿ“ฆ that are required to run the application.
  • and then run ng serve --port 4200 to launch the application.
  • Now open your browser and go to http://localhost:4200/ to view.
  • That's all ๐Ÿ’.

(Back-End)

  • Navigate to the back-end directoryThe-Movie-Database-Project/Back-End/.
  • Also don't forget to run npm install to install the packages ๐Ÿ“ฆ that are required to run the application.
  • Run nodemon start to lauch the application, the application url is http://localhost:3000, but don't worry about it too much because it's already connected to the front-end application.

the-movie-database-project's People

Contributors

kmodipa avatar

Watchers

 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.