100APIsOfCode : Day 1
John R

John R @johns-dev-projects

About: A Laravel focused server side developer.

Joined:
May 23, 2025

100APIsOfCode : Day 1

Publish Date: May 25
2 3

Inspired by the 100 days of code I seen by @jobkroongit.

So I though why not start one myself.

I am going to create 100 API endpoints that preform some form of useful logic.

Weapons of choice, Laravel + vue3 & Python. Not sure if I need a DB yet, but if I do it will be PostgreSQL. I will also use tailwind to speed up the front-end side of things.

I will not set the GIT repo as public, but I will highlight code/technique/architecture/info that I find interesting and possibly valuable to others. I will base a good few of the endpoints on things that I tend to need in my every day development work.

Step 1 -- Setup and Deployment
I will be using VS Code, Postman and Git Desktop as my main dev/deployment tools with GitHub and CI actions, CI actions helps with deployment as it runs tests before push/branch merge. For live I will use Laravel Forge and a Digital Ocean droplet (so that I can install python). This will give a place for myself and others to view and interact with each endpoints I create. Aim to get all this setup in the first half of the 6 hours.

Step 2 -- Create a test endpoint for Boilerplate/Setup
I created a quick little Milliseconds to Minutes conversion. I find myself seeing Milliseconds form time to time, for example the output of MySQL EXPLAIN ANALYZE and it can handy to be to quickly convert it.

Most of the stuff done here so far, is boilerplate setup, but I did use of the python package pint UnitRegistry. I also used the PHP doodle I did as the PHP/Python - link at bottom.

So here it is the live Milliseconds to Minutes Converter:
https://oneaday.dev/one-hundred-apis
*link changed as of the UI update.

Notes:
I got hold of this oneaday.dev domain that I thought was fitting.
later I will subdomain so more use, for example:
johns.oneaday.dev
:)

I did not know that .dev domains have to be SSL or they will not resolve to the A record => server IP address. Was scratching my head on that one for about 15mins.

Other:
laravelphp-doodle-to-run-native-python

Comments 3 total

  • Job Kroon
    Job KroonMay 25, 2025

    Nice one John! Happy to follow your project 😁 Now you mentioned it, forgot to update my last few days on here 😅

    • John R
      John RMay 25, 2025

      Hi @jobkroongit, yeah this idea of consistent progress really works.
      This 100 API routs is basically going to be my growing portfolio of example work.

      As I do have 100 endpoints to build then I am open to creating endpoints for others developing prototype/portfolio type work. If you need any API calls/logic that are not to heavy, then let me know.

      • Job Kroon
        Job KroonMay 26, 2025

        How cool! Good luck! I’m in the middle of practicing API calls atm in my swift project 💪😁

Add comment