Giter Site home page Giter Site logo

arctouch-challenge's Introduction

ArcTouch Challenge

Overview

This project execute a webapp that makes requests to TMDB and show informations about the upcoming movies (title, poster/backdrop, genres and release date) as well as searched movies.

Architecture

In this project I made a backend app, responsible to make http requests to TMDB API (the frontent can't talk with TMDB API directly), and a frontend app, responsible to show the informations to the user. The backend runs like a gateway, receiving request from frontend, sending this request to TMDB API, receiving the response and sending to frontend app.

To help on deploy, I used Docker to create two containers and run both with DockerCompose on AWS EC2 instance.

In backend, I used Express framework, and in frontend I used Angular 9.

Assumptions

  • The 'title' field was the correct movie name instead of 'original_title' field.
  • The fully movies list should be displayed paginated to access all movies.

Build

To run the project locally, you have two ways:

    • Use Docker. So, run the command below, in the root directory, to start two containers (backend and frontend), and access the address http://localhost:80/movies

Command: docker-compose -f docker-compose.yml up -d --build

    • Run the backend and frontend separately
    1. Access the 'backend/src' directory and run the following command: node app.js
    2. Access the 'frontend' directory and run the following command: ng serve

Libraries

    • Backend
    1. Axios: make http request to the TMDB API
    2. Chai/Mocha/Should/Request: make tests
    3. BodyParser: format body message in requests
  1. Frontend
    1. NgBootstrap: paginator component
    2. Rxjs: work with observables and async methods
    3. Angular Libs: default components and services from Angular

arctouch-challenge's People

Contributors

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