Hi there, and thanks for checking in. In this blog post, I wanted to discuss how to use the React framework Next.js with Strapi to create a portfolio website.
It doesn’t matter if the website you’re creating is a personal website, a portfolio website, or a business website. The same tools apply.
The CMS we’re going to use is Strapi. It’s free, comes with great customer service, and the project is open source. The Strapi CMS is a so-called headless CMS. This basically means it’s a backend service for your website. Other CMS’s like WordPress includes the public-facing part of…
There are statements scattered all over the internet, claiming that Redux is very hard to set up, and will leave you with a lot of unmanageable spaghetti code. I beg the differ! Using React and Redux is actually very easy, maintainable, and doesn’t really complicate things. It keeps things in system.
In this article, we’ll create a very simple application which lists names and ages. You will be able to view all listings, add listings and remove listings. We will not use any databases. Instead, we’ll simulate a database with an array of objects.
Since Redux is so incredible easy…
I am about to start a new project. With every new project, there is always a question about which tech stack to use. In my new project, I know that SEO is going to be important, so I have to figure out how to deal with that. I also want to write the front end in React. I also need a back end. Should I go for an Express.js, Rails, Flask or Django back end? Is there a way I can drop writing the back end, all together? …
Firebase is an extremely good software development platform, which gives you access to both authentication, noSQL databases, storage and much more. It’s a true powerhouse, and I love the ease of using Firebase and the database Firestore.
We all know the importance of using the right tool for the job. If you’re developing an app with Firebase, you might run into a situation where cloud functions are not enough, and you need a separate backend server to do some tasks. You might even use Firebase as your main hub, and have other microservices connected to it.
Either way, if you’re…
Have you ever wanted to write a mobile app, either for yourself or for your business? In this blog post, we’ll look into how we may write an app that runs on both iOS and Android, using the React Native framework Expo.
I’m sure you’ve heard about Expo. If not, it’s an app that makes you write a complete JavaScript app without any native code (If you work with a pure React Native app, you’ll have to do some stuff in native code as well).
The main pro and con with Expo is the native code. You won’t be able…
I was browsing JavaScript questions at Stack Overflow the other day and realized a lot of questions are about jQuery. These questions weren't about old legacy systems that needed maintenance, but new programmers who probably picked up tutorials that used jQuery.
There was a time, many years ago, where there were huge differences in how browsers interpreted JavaScript. Before 2008, Internet Explorer was the most popular website browser, and they sure liked to do things a bit differently than everyone else.
jQuery was released in 2006, and one of the things it tackled, was exactly browser differences. Instead of having…
Table of Contents
Source code https://github.com/Devalo/react-app-in-existing-express-app
There are times when a simple Express app serving HTML is a very easy and efficient way to build a website. With all the different NPM packages out there, and a nice Bootstrap theme, you can build a nice website in Express just as fast as any Wordpress site.
Now, imagine you’ve built a website. For ease of use, you went with Express. …
The binary search will search through a sorted dataset. It’s important that the data is sorted from the lowest to the highest value, or else the binary search wouldn’t work. If your data isn’t sorted, you need to sort it before you can search over it with binary search.
The binary search is of O(log n) complexity. which basically means it will cut the data in half with each iteration, until it finds the target value we’re searching for. It will actually be much faster the more data it has to search through, compared to for example a linear search…
Such scary words. It oozes math all over them…
This is probably what you’re thinking if you’re new to computer science and programming. But really, they aren’t that hard to grasp, once you understand the basics of them.
the Big-O is a way of figuring out how efficient an algorithm is. When you’re working on a big project with a huge database, making your code run as efficient as possible can save huge costs in the long run. You may ask — What is an algorithm?
You can think of an algorithm as a recipe. A set of instructions on…
Today, I want to write a bit about Vim, using Vim keybindings. and why you should use switch to Vim keybindings if you’re not already using them.
Me, as well as many others started hearing about this arcane text editor when we first started learning programming. What is it with this 30 years old editor, that makes it so intriguing?
First of all, about all Linux servers have Vim installed. …