Code Monkey home page Code Monkey logo

sample-movie-search-omdb's Introduction

Movie-Search-App

Movie search project based on OMDB Api.

Dependencies :

  • NodeJs
  • Express
  • MongoDB & Mongoose
  • Jest.Js
  • Angular
  • Docker-Compose
  • TypeScript

Docker Databases & API

If you don't want to install mongodb, dependecies and create all database or API service manually, you can create docker container with all you need already installed.

  1. Install docker
  2. Linux users must install docker-compose as well. For MacOS and Windows, docker-compose is included into Docker for Desktop.
  3. Execute npm run dc:start [ MongoDB and Movie-API should be up with this step. skip steps and follow Frontend App section now]
  • Execute npm run dc:build to only build.

Docker DB & API Commands/Scripts

  • npm run dc:start starts DB containerized database; MongoDB And API services
  • npm run dc:start-bg starts DB & API in the background if you don't want to see logs
  • npm run dc:stop stops containers
  • npm run dc:clean removes database & API
  • npm run dc:cli:mongo connect to MongoDB CLI

Docker Logs

This command can be useful if you start your environment in the background with npm run dc:start-bg. You can follow the log stream for any service with the following command:

  • npm run logs:mongo Connect to MongoDB log stream
  • npm run logs:api Connect to movie-api log stream

Frontend App

Install Angular-cli

To prepare and start the front-end movie app use below command.

  • npm run start:app

Angular-app & Node-app

Jest unit-tests

Execute npm run dc:start to start mongoDB.

  • npm run test to run unit tests with coverage
  • npm run test:watch to run unit tests in watch mode.

Made with :heart:

sample-movie-search-omdb's People

Contributors

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