In today’s fast-paced web development world, Next.js is one framework that’s becoming popular among developers. It’s a powerful React-based solution that offers a lot more than just a traditional React and Node.js setup. What makes it so great? Let’s take a closer look.
Using Node.js To Create a Discord Bot
From Zoom to Skype to Microsoft Teams, there is an endless number of platforms to help keep you connected. One such platform is Discord – a service primarily intended for gaming that allows you to voice chat, video chat, or screen share with a community you have developed on your own hosted “server.” One of Discord’s best features is a developer portal with an open API that allows you to add bots and apps to your server, as well as write your own.
There is true beauty in the ability to create your own custom solutions to fill your needs. So in this brief tutorial, I’ll show you how to get up and running writing your own Bots and Apps for Discord with Node.js.
Using React Hooks To Save the Environment
Attention: The following article was published over 4 years ago, and the information provided may be aged or outdated. Please keep that in mind as you read the post.Every application has some need for environmental variables that are specific to that environment. This can be database connections strings or URL to an API that will vary between the different environments. …
Creating Loosely Coupled NodeJS Applications: Part 1
In this post, I will be introducing three strategies that can help Node developers who wish to loosen their code. First, we’ll cover microservices with Moleculer. Then, we’ll through Inversion of Control with InversifyJS. Finally, we’ll discuss N-Tier Architecture and why it’s helpful.
Part 6: Node + Express for a Simple Security Model
Part of the Solid Foundations Learning Series
This is an in-depth learning series focused on a specific application: a JavaScript-based suite of single-page applications optimized for use in a microservice environment. We focus on telling the story of “why” and “how” it was built.
Throughout this series, we have touched on adding navigation, content and single-page applications, but we haven’t touched on the security of the application yet.
In this article, we’re going to add a simple security model to the application which will accept a login, validate a user, redirect to a secure page, enable a logout, and catch any errors which occur during the process. Let’s get started.