My Collab Project Upgrade!
Hello SDS members!
After finishing the collab project (CP#05 Seasonal Bike Rental), I was wondering what I should do next. The mentorship program came at a perfect time, and my mentor @Ayan Sengupta suggested that I start to consider scale. So instead of using Streamlit to deploy my model (which was just creating the ui and linking github repo to streamlit), I decided to deploy my model to digitalocean’s droplet. After a week of struggle, I finally made it!
Here is the link: https://165.22.108.179.nip.io/
I will put this server up until I run out of credits.
For people that have no experience in dev (that’s me), this is how I did it. I mainly used Claude AI to help me with everything. The files needed were main.py for FastAPI, index.html and style.css for UI, script.js for form submission (sending the input in a correct format to the model), and a model.py (database for collecting the inputs and predictions, this part is not finished yet).
The total cost so far was 5 USD (Minimal 5 USD deposit required, and 1.15 USD for running the droplet for one week which will be deducted from the 5 USD).
My next step is to get the database working, reason being we might need these user inputs and prediction to evaluate our model. Although Claude AI did all the coding (I have basic skills in python), I learned a lot from Claude, from the structure of the project (what file, service, libraries were required), and through the errors I was getting and asking Claude to troubleshoot, that was also a valuable lesson. I will be looking at the code again, to try to understand the parts I do not know.
This is a big accomplishment for me, and I would like to thank the entire community! Being persistent is key, you have all the help you need here!