I have been building APIs for production environments for many years now, predominently in PHP. After a successful session it was clear that their systems were no cohesive enough, and speed was a major issue.

For the purpose of being to the point, I will not be following how I would usually build an API.

My first step in any API build, is to create a Docker container to run my API on.

// Application is out general purpose Application struct which contains a link through to the main services connected type Application struct { Server *http.Server Router *mux.Router Logger *zap.Logger Config *Config }
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners