Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Backend of a spotify, youtube music transfer serivce

Notifications You must be signed in to change notification settings

malek10xdev/rythmize-api

Repository files navigation

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:

About

Backend of a spotify, youtube music transfer serivce

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /