Deploy your node application using netlfiy functions

AWS’s serverless Lambda functions open a world of possibilities for running on-demand, server-side code without having to run a dedicated server.

Netlify lets you deploy serverless Lambda functions without an AWS account, and with function management handled directly within Netlify. Your serverless functions…


Create a laravel 8 app with basic authentication

Photo by Pierre Châtel-Innocenti on Unsplash

Laravel 8 has removed default auth scaffolding and simply provides a composer package for creating auth scaffold in a Laravel application. This article will show how to get a basic authentication system up and running with the laravel/ui package.

Create a new project

composer create-project --prefer-dist laravel/laravel laravel_demo

For more detailed installation instructions, visit…


Log users in when running tests using Laravel Passport

Photo by Jess Bailey on Unsplash

Writing tests is always important to maintain the quality of your codebase. Most Laravel APIs will have authenticated routes, which only logged-in users can access or users with certain roles etc. To write tests for these routes you will need to mock logins in your test. …


Upload & download metadata with AWS S3 Buckets

Photo by DocuSign on Unsplash

Thanks to the Storage Facade in Laravel, interacting with files is now a lot more straightforward. In past implementations of file upload, I sent the file to the same server as my Laravel API, in order to upload it to S3. …


use tailwind in react project!

Introduction

Tailwindcss is a utility-first CSS framework that can be composed to build any design, directly in your markup.

This is a quick tutorial to show how tailwind can be configured in a fresh React application using create react app.

Creating a new React application

Create a new react application:

npx create-react-app tailwind-demo
cd tailwind-demo

When…


How pet microchipping works

MyPet — microchip database and veterinary software

At MyPet, we believe that getting your pet microchipped is the best way of making sure you’re reunited if they get lost or stolen. …


CODEX

Make a human-readable identifier for users on a ‘per team’ basis

Photo by Eric Krull on Unsplash

Problem

I have an application which has a table of users and a new requirement that these users have an incrementing identifier applied both for new users and existing users. …


What webhooks are, how webhooks work, and when to use them

Photo by Susan Yin on Unsplash

More and more companies are beginning to use Webhook technology in software integration, while interest in webhooks has grown considerably over the past 10 years according to Google Trends:


CODEX

Generate a “Hello world” larvel package in record time!

Photo by Oscar Sutton on Unsplash

Packages are the primary way of adding functionality to Laravel. This article will get you up and running quickly with a basic package.

Composer is a tool for dependency management in PHP. It allows you to declare the libraries your project…


Improve tests for your laravel application

Photo by Jack B on Unsplash

Introduction

PHPUnit is a unit testing framework for the PHP programming language. Laravel has support for PHPUnit included out of the box, and a phpunit.xml file is already set up for your application.

In your project your tests directory will contain 2 directories: Feature and…

Paul Reaney

I am a software developer and I like to write about interesting things I come across in my day to day.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store