gtorosjan / omdb-bot

Finds film details on IMDB via the OMDB API.

Home Page:https://omdb-bot.herokuapp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

omdb-bot

Travis CI Build Status  Known Vulnerabilities  dependencies Status  devDependencies Status

Finds film details on IMDB via the OMDB API.

Prerequisites

  1. git.
  2. Node 12+.
  3. Docker Desktop

Installation

% git clone https://github.com/kreig303/omdb-bot.git
% cd omdb-bot
% npm it

Configuration

  1. Register for an OMDB API key.
  2. Create a .env file at the root of the app directory
  3. Configure .env as follows. Port 8000 is my default. YMMV.
PORT=8000
BOT_KEY=abcdefg

Usage

Develop

% npm run start:dev

Run

Docker

% docker-compose build
% docker-compose up

CLI

% npm start

Endpoints

  1. /api/movie/[title of film] (gets movie info)
  2. /api/poster/[imdb id for film] (gets movie poster)

History

Discover the release history by heading on over to the releases page.

Contribute

These amazing people have contributed code to this project:

Discover how you can contribute by heading on over to the CONTRIBUTING.md file.

License

Unless stated otherwise all works are:

and licensed under:

About

Finds film details on IMDB via the OMDB API.

https://omdb-bot.herokuapp.com

License:Other


Languages

Language:JavaScript 96.0%Language:Dockerfile 4.0%