Git Product home page Git Product logo

movieservice's Introduction

MovieService

watchers forks start

MovieService - это backend приложения, разработанное на Python, используя микросервисную архитектуру, предназначенное для удобного поиска фильмов и сериалов. Он осуществляет автоматический сбор данных о кино-новинках, сохраняет их в базу данных PostgreSQL, дает возможность редактировать и данные админкой Django, а затем, с помощью процесса ETL (извлечение, преобразование и загрузка), передает данные в Elasticsearch, где можно осуществлять поиск с использованием API на FastAPI. Удобный запуск Docker

MovieService is a backend application developed in Python using a microservice architecture designed to easily search for movies and series. It automatically collects movie news data, stores it in a PostgreSQL database, allows editing and data by the Django admin, and then, using the ETL process (extract, transform and load), passes the data to Elasticsearch, where you can search using the FastAPI API. Convenient launch with Docker

Аrchitecture:

architecture

Technologies used in the project

Frameworks:

  • FastAPI, Django

Storage:

  • PostgreSQL, ElasticSearch, Redis

Containerization

  • Docker, Docker-Compose

Web Server/Proxy:

  • Gunicorn, Uvicorn, Nginx

  • Parsing with a proxy

installation

Buy proxy addresses and put them in /worker/core/proxies.txt or don't use proxies

  1. Clone the repository:

    git clone https://github.com/dimitrieidifesk/MovieService.git
    
  2. Set environment variables:

    mv config.env.example config.env
    
  3. Run docker:

    docker-compose --env-file config.env up --build
    

Useful Commands

  1. You may need to collect Django admin static files and put them in nginx_config folder:

    python manage.py collectstatic
    
  2. Apply Django migrations:

    docker exec -it movieparser-admin_panel-1 python manage.py migrate
    

movieservice's People

Contributors

dimitrieidifesk avatar

Stargazers

 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.