Best Flask open-source libraries and packages

Rythmize api

Backend of a spotify, youtube music transfer serivce
Updated 1 year ago

Rythmize api Generic badge

Sublime's custom image

Introduction:

Rymthize is a web based application that enabels you to transfer your music between music streaming services. This project is an end-of-foundations project, required by Holberton School.

Installation:

  • Install requirements
$ pip install -r requirements.txt
  • Setup .env file
CONFIG_ENV=Development
FLASK_ADMIN_SWATCH=cerulean
SECRET_KEY= secret_key_here
DEV_DATABASE_URI = link_to_database 
PROD_DATABASE_URI= link_to_production_database (optional in case of development)

MAIL_SERVER= your_smtp_mail_server
MAIL_USERNAME= mail_username
MAIL_PASSWORD= mail_password
MAIL_PORT= mail_port
MAIL_DEFAULT_SENDER = mail_default_sender
CLIENT_ID = spotify_client_id
CLIENT_SECRET= spotify_client_secret
CLIENT_REDIRECT_URI=http://127.0.0.1:5000/api/v1/auth/connect/spotify/callback/
  • Init database
$ ./init_db.sh

Usage:

  • Run App
$ python3 manager.py runserver

OUTPUT:
 * Serving Flask app "rythmize" (lazy loading)
 * Environment: development
 * Debug mode: on
 * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
 * Restarting with stat
 * Debugger is active!
 * Debugger PIN: 260-463-794
  • Run App in shell mode
$ python3 manager.py shell

OUTPUT:
    In [1]: your command

Screenshots:

run.py is used only for production

Contributing:

Contribution is open for everyone.

Related projects:

Rythmize frontend repository

Licensing: