Member-only story

Delivering A Mobile Backend API In Short Time For Laravel Developers

Sky Chin
5 min readSep 20, 2018

Photo by Marten Bjork on Unsplash

Recently I was working on a mobile app project with my friend, Steven where the user can receive location updates from friends and family. Each user will have a tracking code and a list of users with their most recent location.

The biggest challenge of this project was the timeline. We needed to deliver it within two weeks while working a day job.

However, we managed to deliver it in one weekend.

I was assigned to build the backend API for the mobile app. In this article, I’d like to share with you the key practices that I used to deliver the backend API in such a short time.

Key practices:

  1. Design your API before writing code
  2. Write API with Lumen, not Laravel
  3. Simplify your code by using Single Action Controllers

Design your API before writing code

When starting development, most of the inexperienced developers jump into writing code immediately.

That is a common mistake.

Without designing your API before writing code,

  1. You could be frustrated by the unexpected workload in the later stage

Sky Chin
Sky Chin

Written by Sky Chin

Engineering Manager @ Mindvalley

Responses (4)

Write a response