Motivational Quotes API Endpoint

Introduction

While working on my KMM jogging app Just Jog, I cam across the need to display motivational quotes to the user. So naturally I googled “random quotes API”, this gave me many different providers. Each one required me to create an account and then would prompt me with a few different tiers for their service. The free tier don’t give you access the cool stuff and is limited to 100 - 500 calls per month. I don’t think that’s bad, but I also don’t think it’s great. Especially while still being in the process of development, these calls are going to add up quick.

This gave me the idea, why don’t I make my own motivational quotes API.

Main Content

Section 1: Selecting the tech to do it

I first thought to myself, why not use ASP.net to make my endpoint. I did use it in university to make a few endpoints, so the code is there for me to repurpose. I also used Spring Boot in a professional environment and had a pretty good experience with it, since it works with Kotlin.

With that in mind, I want to learn spring boot and be able to create a simple endpoint.

Section 2: Doing the work

Now, nothing more to it than to do it. How do I do it …

Thankfully tech has come a long way and I can simply ChatGPT “Spring Boot step by step guide to setup.” TLDR go to [Spring Boot Initializer](Spring Boot step by step guide to setup.).

So step 1 select all the options I want for my project and generate. Boom, we have something from nothing!

Section 3: {{Subheading 3}} (Optional)

  • Key Idea:
  • Example or Insight:

Conclusion

  • Final thoughts:
  • Call to action (optional): Subscribe, comment, share, etc.

Call-to-Action (Optional)

References (Optional)