Quantcast
Channel: DigitalOcean Community Tutorials
Browsing all 136 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Understanding and Working with Files in Laravel

Introduction File uploads are one the most commonly used features on the web. From uploading avatars to family pictures to sending documents via email, we can’t do without files on the web. In today’s...

View Article


Create a Custom useFetch() React Hook

Introduction A custom hook is a JavaScript function with a unique naming convention that requires - the function name to start with use and the function may call other Hooks The whole idea behind...

View Article


Different Tricks on How to Make Bootstrap Columns All the Same Height

Introduction Bootstrap 3 (and now Bootstrap 4) are amazing CSS frameworks that can make the lives of developers of any skill-level easier. When I was more of a beginner and I first started using...

View Article

Simple and Easy Laravel Login Authentication

Introduction Today we’ll be creating a simple Laravel authentication. Using migrations, seeding, routes, controllers, and views, we’ll walk through the entire process. This tutorial will walk us...

View Article

Image may be NSFW.
Clik here to view.

Validating a Login Form With React

Introduction For almost every form that you create, you will want some sort of validation. In React, working with and validating forms can be a bit verbose, so in this article, we are going to use a...

View Article


Image may be NSFW.
Clik here to view.

Tinker with the Data in Your Laravel Apps with PHP Artisan Tinker

Introduction Today we’ll talk about how to use one of Laravel’s lesser-known features to quickly read data from our Laravel applications. We can use Laravel artisan’s built-in php artisan tinker to...

View Article

Image may be NSFW.
Clik here to view.

Create a Simple To-Do App With React

Introduction As the topic implies, we are going to be building a To-Do application with React. Do not expect any surprises such as managing state with a state management library like Flux or Redux. I...

View Article

Image may be NSFW.
Clik here to view.

Implementing an Infinite Scroll list in React Native

Introduction While implementing pagination in mobile devices, one has to take a different approach since space is minimal, unlike the web, due to this factor, infinite scrolling has always been the...

View Article


Image may be NSFW.
Clik here to view.

React 16.6: React.memo() for Functional Components Rendering Control

Introduction React 16.6.0 is released! With it comes a host of new features including the two big ones: React.memo() React.lazy(): Code-splitting and lazy-loading with React Suspense We’ll focus on...

View Article


Keeping API Routing Clean Using Express Routers

Introduction Organizing routing in large applications and APIs so that it’s easy to find and maintain in the future can be challenging. As codebases get more mature and complex, they grow in size. You...

View Article

Image may be NSFW.
Clik here to view.

Node.js Tests: Mocking HTTP Requests

Introduction Writing tests for an application that relies on external services, say, a RESTful API, is challenging. More often than not, an external resource may require authentication, authorization...

View Article

Image may be NSFW.
Clik here to view.

Building a modern app using Nest.js, MongoDB, and Vue.js

Introduction Nest.js introduces a modern way of building Node.js apps by giving them a proper and modular structure out of the box. It was fully built with TypeScript but still preserves compatibility...

View Article

JavaScript Replace All Instances of a String

Introduction I’ve started building out our JavaScript Glossary and when I got to the replace() method, I had to build out a snippet to handle replacing all occurrences of a string in a string. Only...

View Article


How To Use NgShow and NgHide

Introduction Today we’ll be looking at how we can use Angular’s ngShow and ngHide directives to do exactly what the directives sound like they do, show and hide! What They Do ngShow and ngHide allow us...

View Article

Image may be NSFW.
Clik here to view.

All the Ways to Add CSS to Angular 2 Components

Introduction Writing styles for large applications can be a really challenging task as styles get easily mixed up and confusing. The major issue is usually encountered when trying to structure your...

View Article


Sort and Filter a Table Using Angular

Introduction When building Angular applications, one of the cornerstones we will use is ng-repeat. Showing data is something that we do in applications like when we show a table of users or whatever...

View Article

Image may be NSFW.
Clik here to view.

Routing React Apps: The Complete Guide

Introduction Routing is a key aspect of web applications (and even other platforms) could not be left out in React. We can make full-fleshed single-page applications with React if we harness the powers...

View Article


Easy Node Authentication: Setup and Local

Note: This article is part of our Easy Node Authentication series. Getting Started and Local Authentication Facebook Twitter Google Linking All Accounts Together Upgrading Our “Easy Node...

View Article

Image may be NSFW.
Clik here to view.

Getting Started with Browserify

Introduction Browserify changed my life. … My life as a JavaScript developer, anyway. With Browserify you can write code [in the browser] that uses require in the same way that you would use it in...

View Article

Getting Started with Redis in PHP

Introduction Redis created by Salvatore Sanfilippo is an open-source, in-memory data structure server with advanced key-value cache and store, often referred to as a NoSQL database. It is also referred...

View Article
Browsing all 136 articles
Browse latest View live