Sailscasts is launching on 17th, March, 2021🚀. Join the early access list
The Sailscasts Blog

The Sailscasts Blog

Best practices, Tips & Tricks, Updates, ideas, and inspiration from Sailscasts to help developers build and design software.

The Sailcasts Blog Newsletter

Get notified 🔔 when new articles are published on the Sailcasts Blog.

Link

How to configure ESLint and Standard JS in a Sails project

Linting improves readability and consitency in a codebase. It is a must have for teams to enforce coding style guides and standards, fix typos, find potential bugs across a codebase. In this article, we will be setting up ESLint and StandardJS in a Sails project.

How to configure ESLint and Standard JS in a Sails project

Kelvin Omereshone

4. February 2021. 5 min read.
Link

Testing Sails Applications with Mocha and SuperTest

Testing or automated testing helps ensure code quality and serves as a measure to prevent you or other members of your team from shipping code with defects aka bugs to production. In this article we will look at setting up automated tests in Sails applications using Mocha and Supertest.

Testing Sails Applications with Mocha and SuperTest

Kelvin Omereshone

26. January 2021. 8 min read.
Link

How to paginate your Sails APIs

Pagination helps splits the dataset being returned to a user into smaller chunks and return the rest as requested. In this article we will look at a couple of options on implementing pagination in your Sails APIs.

How to paginate your Sails APIs

Kelvin Omereshone

12. January 2021. 6 min read.
Link

The Sailscasts Company launches

Sailscasts will be built by the folks at The Sailscasts Company - a company founded by Kelvin Omereshone dedicated to building and helping others build on Sails

The Sailscasts Company launches

Kelvin Omereshone

19. December 2020. 2 min read.
Link

Understanding Sails helpers

Sails provides you with a mechanism to share code in different places in your applications. This mechanism is called helpers. In this article we will dive into what helpers are and how to begin using them in your Sails application.

Understanding Sails helpers

Kelvin Omereshone

9. December 2020. 5 min read.
Link

One way to organize Sails routes

Your custom routes definitions can easily get out of hand in a large Sails application. In this article we are going to take a look at a pattern I use in large Sails applications for organizing custom routes definitions.

One way to organize Sails routes

Ali Emre Çakmakoğlu

26. November 2020. 2 min read.
Link

Understanding Sails routes

Routes are URLs that a web client use to communicate with your application. In this article you will learn how Sails handles routes and how you can use them in your application.

Understanding Sails routes

Kelvin Omereshone

11. November 2020. 6 min read.
Link

Understanding Sails policies and best practices

Policies are versatile tools in Sails for authorization and access control. They give you the ability to execute some logic before an action is run for the purpose of ascertaining if the request should continue or not. This article will introduce policies in Sails, explain how to go about creating policies in Sails and the best practices to observe when doing so.

Understanding Sails policies and best practices

Kelvin Omereshone

29. October 2020. 5 min read.
Link

Migrating your Sails actions to actions2

Actions are Sails mechanisms that are responsible for responding and handling requests to your Sails applications. This article will introduce you to the actions2 style of writing actions in Sails and how to start using it in your Sails applications.

Migrating your Sails actions to actions2

Kelvin Omereshone

21. October 2020. 10 min read.
Link

The Sailscasts Blog is live

The Sailscasts Blog is meant to augment Sailscasts with quality articles for developers to step up their game with production ready server-side JavaScript and of course tips and tricks on Sails.js.

The Sailscasts Blog is live

Kelvin Omereshone

27. September 2020. 1 min read.