-
Notifications
You must be signed in to change notification settings - Fork 1
/
TODO.TXT
30 lines (22 loc) · 1001 Bytes
/
TODO.TXT
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Endpoints:
####BASE####
- getUserdata(user_id) //returns personal data + hours data + slideshows (hashtags, media count)
- getShowSettings(show_id) //returns all settings (hashtag, twitter / instagram on/off, animation id etc.)
- setShowSettings(show_id if not new, )
- deleteShow(show_id)
- testHashtag(hashtag) //checks if hashtag exists
- getShowData(show_id) //returns latest content for hashtag
--> reduce play hours, save media links to DB, get media links, send to client (json)
####BONUS####
- getPrintMaterial(show_id, template_id)
- getZippedMedia(show_id)
Hours logic
If user has < 1.5 hours - should show 'Emergency' icon
If user has < 4 hours - should show 'Low' icon
If user has < 10 hours - should show 'Medium' icon
If user has < 20 hours - should show 'Medium-high' icon
If user has < 40 hours - should show 'High' icon
If user has < 50 hours - should show 'Very High' icon
1. Connect to twitter (same as with instagram)
2. Connect to DB (+)
3. Create the getShowData endpoint