Run pip install -r requirements.txt
.
- Set the environment
export FLASK_ENV=development
export FLASK_APP=player
- initialize database
flask init-db
- create user
flask create-user namy passy
- run server
flask run
-
POST /users/newpassword
-
POST /users/login
-
POST /users/logout
-
GET /songs/{user_name}
-
POST /songs/{user_name}
-
PUT /songs/{user_name}/{song_id}
-
GET /songs/{user_name}/{song_id}
-
DELETE /songs/{user_name}/{song_id}
-
PUT /files/{user_name}/{song_id}.{ext}
-
DELETE /files/{user_name}/{song_id}.{ext}
- link everything together properly
- song preview (-> iframe messaging with player)
- design preview (-> iframe messaging with player)
- mp3-midi offset -> save in db or fix in file