Music Assistant is an app to search lyrics and save your favorite songs.
(Must)
- User sends a section of some lyrics
- User receives the song related to that lyrics
- Result song should have the name and artist
- User saves can tag a result song as favorite
- User sees his list of favorite songs
- (keep session per user)
- (save all conversations info)
- Stats show number of people that used the app
- Stats show number of chats per day
- Stats show most popular song
(Should)
- Remove songs from Favorite list
- Stats show avg session time
- facebook -> "/webhook" -> View -> fb_webhook -> (message_handlers <-> MusixMatch )-> fb_messages -> facebook
- fb_webhook: handles inicial connection processing request data
- message_handlers: determine type of Input Message and call a type of response
- fb_messages: build bot response, send musixMatch Api requests and send message back to fb
- handle differences (postback/message)
- connect and search some lyrics with musixMatch
- create models for users and messages
- create models for songs (attrib: favorites) MODELS
- add to favorites postback
- session per user (separate) (use-id)
- conversations model (store info stats)
- show stats on persistent menu
-
./manage.py test bot.tests
-
./manage.py test bot.tests.test_fb_webhook_helper
-
./manage.py test bot.tests.test_message_handlers_helper
-
./manage.py test bot.tests.test_fb_messages_helper
-
./manage.py test songs.tests