A Complete Guide to Build and Deploy a SaaS Product from Scratch
Published in
6 min readDec 8, 2021
Headless and Serverless with SpringBoot and AWS
Introduction
Let’s learn in this tutorial to build and deploy the basic version of a SaaS application- A Tweet Scheduler.
If you have not read my previous article where we learned to build a spring boot application and set a scheduler to pick and post random tweets from the Mongo DB, I would highly recommend reading that here.
The code has been updated since the last article and the following changes were made,
- Twitter credentials were moved to DB from yml
- GET API added — for a health check
- Logger implemented
- Logic to auto pick tweets updated
AutoCluck — The Product
Our product is named Autocluck, its one and only job is to post random tweets to Twitter.
This application also exposes 3 APIs:
- GET API – This is a health check API and would return “All Good” if the app is up and running in AWS