Giter Site home page Giter Site logo

hamid-rezaei / music-recommender Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 676 KB

This project, developed using the Django-rest-framework, serves as a practical training ground for students enrolled in the Cloud Computing Course,

Python 97.92% Dockerfile 1.54% Shell 0.54%
django django-rest-framework docker docker-compose postgresql rabbitmq simple-storage-service

music-recommender's Introduction

Music Recommender System

Overview

This project, developed using the Django-rest-framework, serves as a practical training ground for students enrolled in the Cloud Computing Course, offering hands-on experience and insights into the utilization of Platform as a Service (PaaS), Software as a Service (SaaS), and Infrastructure as a Service (IaaS) paradigms.

Implementation Details

The project architecture comprises three distinct sections:

  • main: The central component of the project is a Django application that acts as the primary service, orchestrating the entire system by managing API endpoints and coordinating the logic across all sections. This Django app serves as the main service, connecting and integrating the functionalities of other sections.
  • adapter: Serving as the cornerstone for interacting with essential cloud services such as Amazon S3, RabbitMQ, and MailGun.
  • schediler: This section functions as a dedicated scheduler within the project framework, executing tasks in response to specified job triggers. This segment operates autonomously, managing and overseeing the scheduling of various jobs based on predefined criteria.

How To Run

  1. Clone the project

  2. Set Up the Environment: Fill this .env file with appropriate values.

    # General
    FILES_FOLDER=
    
    # Postgres
    DB_NAME=
    DB_USER=
    DB_PASSWORD=
    DB_HOST=
    DB_PORT=
       
    # Redis
    REDIS_HOST=
    REDIS_PORT=
    
    # RabbitMQ
    RABBITMQ_AUTO_ACK=
    RABBITMQ_USERNAME=
    RABBITMQ_PASSWORD=
    RABBITMQ_HOST=
    RABBITMQ_PORT=
    RABBITMQ_QUEUE=
    RABBITMQ_VHOST=
    
    # S3
    ENDPOINT_URL=
    AWS_ACCESS_KEY_ID=
    AWS_SECRET_ACCESS_KEY=
    AWS_STORAGE_BUCKET_NAME=
    
    # Shazam
    SHAZAM_API_KEY=
    SHAZAM_URL=
    SHAZAM_HOST=
    
    # Spotify
    SPOTIFY_API_KEY=
    SPOTIFY_SEARCH_URL=
    SPOTIFY_RECOMMENDATION_URL=
    SPOTIFY_HOST=
    
    
    # Mail
    MAIL_URL=
    MAIL_API_KEY=
    MAIL_DOMAIN_NAME=
    
    
  3. Create project docker image

    docker build . -t main_service
  4. Create docker network

    docker network create musicnet 
  5. Start docker-compose.yml file

    docker-compose up -d  

music-recommender's People

Contributors

hamid-rezaei avatar

Stargazers

Abtin Hasannezhad 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.