vinay-chin / Flask-in-Docker-Develop-Fetch-Latest-Movies-with-Ease

A simple flask application which fetches latest data about movies and displays to user using watchmode api it's main purpose is to help developers to understand development in docker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flask-in-Docker: Fetch Latest Movies with Ease

This project provides a streamlined workflow to build and deploy a Flask application that fetches and displays the latest movie data. It leverages Docker for a containerized development environment and utilizes the TMDB API (The Movie Database) for movie information.

Key Benefits:

  • Reusable Template: Use this project as a base for further Flask and Docker exploration.
  • Simplified Setup: Get started quickly with pre-configured Docker development environment.
  • Easy Deployment: Deploy your Flask app as a container for production or sharing.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

Ensure you have the following installed on your local development machine:

  • Python3

  • Docker

Installation

  1. Clone the repository to your local machine.
git clone https://github.com/your-username/flask-movie-docker.git
  1. Navigate to the project directory.

  2. Install the required Python packages using pip:

pip  install  -r  requirements.txt
  1. Run the application

For Windows Users:

python3 app.py

For Docker:

docker  build  -t  moviesapp  .
docker run -v ${pwd}:/app -p 5000:5000 moviesapp

Now, your application should be running at localhost:5000.

About

A simple flask application which fetches latest data about movies and displays to user using watchmode api it's main purpose is to help developers to understand development in docker

License:Apache License 2.0


Languages

Language:HTML 58.6%Language:Python 28.9%Language:Dockerfile 12.5%