Mock RESTful Server Fast with JSON Server

Mock RESTful Servers Fast With JSON Server

Haaris Chaudhry Articles, Development Technologies & Tools, Tutorial 2 Comments

As a frontend developer, have you ever found yourself in a situation where the backend didn’t have a RESTful API that you could call to test out your user interface? Have you ever wanted to prototype an idea and found yourself getting down in the weeds setting up RESTful routes in a mock backend server?

That’s where json-server comes to the rescue!

With json-server, you simply create a JSON file that follows json-server’s conventions, and you can have a mock RESTful server up in no time. This blog post will go over the features of json-server that I have found most useful as a frontend developer.

Hyperledger User Group - Blockchain State of the Union

March 31: Blockchain Revolution State of The Union

Keyhole Software Articles, Blockchain, Community, Company News, Educational Event, Hyperledger, Keyhole Leave a Comment

Join us for a remote Hyperledger meetup over the lunch hour! We’re choosing to host a virtual meeting due to COVID-19 and hope that you’ll be able to join us.

Hyperledger Fabric is a blockchain framework that gives you the tools to create public or private blockchain networks that share data securely. The Hyperledger Global Forum took place in early March and included a discussion by some of the heaviest hitters in blockchain technology.

This meetup will focus on the current state of Blockchain in 2020 and a recap of main conference topics. The discussion will also include an explanation of multiple use cases currently available in the wild.

The Extras of React

React, The Extras.

Chris Berry Articles, Development Technologies & Tools, JavaScript, React, Tutorial 1 Comment

We’ve all seen and read the React tutorials. We know about classes and components and JSX and whatnot, but then there comes the time when you have to start doing things for real. “Real” you say? Yes. Like connecting to a database or navigating around something larger than “Hello World.” Oh, then there’s that dreaded state thing. Well, let’s have a quick talk about the “Extras” that we can add into a React application.

In this blog, we will address adding routing using the React Router, adding data access using the JavaScript Fetch API, and creating a global state management feature using React’s built-in Context API.

Formik with React

Got Formik? Yup!

Chris Berry Articles, Development Technologies & Tools, JavaScript, React, Tutorial 3 Comments

Let us present this scenario. You’re building a React application, and you’ve been tasked to build a registration form. Seems simple enough, you think at first, but then you start hearing the requirements. The application needs to have validation on each field, and each field needs to have certain requirements, such as being required, being a certain type of field, having a certain length, etc. Your form must also be easily created and have an easily adjusted state during its usage. At this point, something you originally thought would be quick and easy is seeming more and more time consuming and complicated! 

Well, worry no more and look no further; the community has come to your rescue. In this post, we’re going to talk about using the form library called Formik and the validation library called Yup to build out a simple validation form inside of a ReactJS application.

A Quick Look at java.util.stream

Quick Look: java.util.stream Examples

Keith Shakib Articles, Development Technologies & Tools, Java Leave a Comment

Some of us take for granted the newer features in Java, but, being a software consultant, I get to be involved in projects that are sometimes constrained to older versions of Java. The features from Java 1.8 that I have enjoyed for a few years are brand new to others.

I wrote this blog as a primer for those who are just getting started using java.util.Stream classes, or for those who haven’t had a chance to take a look at them until now. The quick topics below represent just a sampling of some of the ways to be more productive using java stream classes. Rather than providing a tutorial on how the classes are used, I’ll attempt to explain by example.