-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.py
More file actions
170 lines (164 loc) · 3.98 KB
/
app.py
File metadata and controls
170 lines (164 loc) · 3.98 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
from fastapi import FastAPI
import random
app = FastAPI()
# My Quotes
quotes = [
"The only limit is your mind.",
"Stay hungry, stay foolish.",
"Knowledge is power.",
"Time is money.",
"Be yourself.",
"Never give up.",
"Success is a journey, not a destination.",
"Dream big.",
"Actions speak louder than words.",
"Believe in yourself.",
"Failure is success in progress.",
"Hard work pays off.",
"Practice makes perfect.",
"Less is more.",
"Carpe diem.",
"Think different.",
"Keep going.",
"Stay positive.",
"Progress over perfection.",
"Do what you love.",
"Love what you do.",
"Discipline equals freedom.",
"No pain no gain.",
"Everything you can imagine is real.",
"Make it happen.",
"Small steps every day.",
"Consistency is key.",
"Don't stop learning.",
"Be fearless.",
"Embrace change.",
"Create your own path.",
"You are stronger than you think.",
"Start where you are.",
"Use what you have.",
"Do your best.",
"Stay humble.",
"Work hard in silence.",
"Let success make noise.",
"The best is yet to come.",
"Keep it simple.",
"Focus on goals.",
"Think positive.",
"Stay strong.",
"Never look back.",
"Learn from mistakes.",
"Believe and achieve.",
"Make today count.",
"One day or day one.",
"Push yourself.",
"Rise and grind.",
"Nothing changes if nothing changes.",
"Be the change.",
"Act now.",
"Stay curious.",
"Knowledge grows when shared.",
"Simplicity is the ultimate sophistication.",
"Do more with less.",
"Effort creates results.",
"Winners never quit.",
"Quitters never win.",
"The future is now.",
"Own your story.",
"Live with purpose.",
"Be unstoppable.",
"Chase dreams.",
"Build your future.",
"Success requires sacrifice.",
"Learn every day.",
"Stay focused.",
"Think long term.",
"Short cuts make long delays.",
"Quality over quantity.",
"Work smarter.",
"Stay disciplined.",
"Be consistent.",
"Keep learning.",
"Improve daily.",
"Trust the process.",
"Enjoy the journey.",
"Make it work.",
"No excuses.",
"Take responsibility.",
"You got this.",
"Be bold.",
"Take risks.",
"Learn to adapt.",
"Stay motivated.",
"Results matter.",
"Dream it do it.",
"Build discipline.",
"Earn it.",
"Go further.",
"Never settle.",
"Stay driven.",
"Push limits.",
"Aim high.",
"Think big.",
"Be relentless.",
"Stay focused on goals.",
"Make it happen daily.",
"Every moment counts.",
"Time waits for no one.",
"Start today.",
"Don't wait.",
"Act with courage.",
"Keep pushing forward.",
"Growth takes time.",
"Be patient.",
"Stay consistent always.",
"Hard times build strength.",
"Pressure makes diamonds.",
"You are capable.",
"Believe in growth.",
"Learn and improve.",
"Keep striving.",
"Turn pain into power.",
"Stay resilient.",
"Focus and win.",
"Never quit on yourself.",
"Build momentum.",
"Keep evolving.",
"Stay in motion.",
"One step at a time.",
"Progress matters.",
"Keep your head up.",
"Success is earned.",
"Work for it.",
"No limits.",
"Think ahead.",
"Stay sharp.",
"Be prepared.",
"Keep grinding.",
"Make it real.",
"Stay committed.",
"Follow your vision.",
"Create value.",
"Add value.",
"Lead yourself.",
"Be consistent daily.",
"Move forward.",
"Don't look back.",
"Stay determined.",
"Keep faith in process.",
"Make progress daily.",
"Stay focused always.",
"Work with purpose.",
"Be intentional.",
"Build habits.",
"Master yourself.",
"Success follows action."
]
@app.get("/")
def home():
return {"message": "Motivation API is running!"}
@app.get("/quote")
def get_quote():
return {
"quote": random.choice(quotes)
}