Category: Web Development
Create A Simple RESTful API With Golang
Most modern applications have separation between the backend and the frontend layers. The backend is typically a RESTful API and is critical part of full stack development. These APIs are generally further broken down into a collection of routes, often referred to as endpoints. Building applications like this is often very clean and maintainable in comparison to mashing everything into a single application.
I have been creating RESTful APIs with a variety of programming languages, for example Node.js and Java, but lately I’ve been doing a lot of research on the Go programming language. It is fast and very solid programming language that every seems to be talking about. Because of this it only made sense to see what it took to build a RESTful API with Go, often referred to as Golang.
We’re going to see what it takes to build a simple API that does basic CRUD operations using the Go programming language.
Read MoreAdd Type Definitions To An External JavaScript File In TypeScript
Not too long ago I wrote an article that explained how to include external JavaScript libraries in an Angular TypeScript project. To summarize that post, my goal was to show how to use any of the millions of JavaScript libraries that exist online within a TypeScript application. I received a lot of heat from that article saying that I am missing the point of TypeScript because in the end I wasn’t using any type definitions. I disagree because not every library that exists on the internet will have a set of type definitions. In that sense the article still proves very useful.
This time around, I want to explain how to include type definitions in your project, should they exist. I won’t be going over the entire Angular demo again, but the JavaScript library will be the same and it will still be a functional application.
Read MoreUse Hugo To Create Awesome Static Websites And Blogs
You might not know this, but I run another blog on a completely different subject material than The Polyglot Developer. This other blog is called Own the Web and it focuses on brand building, searching engine optimization, and boosting your online revenue through the internet. Unlike The Polyglot Developer, Own the Web was actually created using the Hugo Static Website Engine.
I want to share information about Hugo, some of the advantages and disadvantages, and my experience using it.
Read MorePhlat Theme For The Hugo Static Website Engine Released
I am pleased to announce that I created my first ever Hugo Static Website Engine theme called Phlat. This is not only my first Hugo theme, but the first theme I’ve ever created.
Before talking about the theme itself I want to give a quick background on Hugo since this is the first time I’ve mentioned it on The Polyglot Developer.
Read MoreTPDP Episode #3: Developer Tools that can Make You More Productive Towards Your Next Release
In this episode of The Polyglot Developer Podcast I sit down with two of my good friends, Raymond Camden and Simon Reimler, and discuss developer tools and strategies for being successful. Episode #3: Developer Tools that can Make You More Productive Towards Your Next Release covers a lot of ground and is broken up into three main sections:
- What tools are used for planning, prior to development and design
- What tools are used for developing and designing an application all the way to release
- What tools are used for maintaining and driving the success of a released application
This podcast episode is not specific to any programming language or release platform. In other words, whether your a web developer, mobile app developer, or game designer, you will be able to find this information valuable.
Read MoreWebinar Series: Building A CEA2N And NativeScript Application
Today I have finished the final episode of a five-part webinar series on the subject of Couchbase, Express Framework, Angular, and Node.js (CEA2N) application development. This webinar series has been going on for the past five weeks where each week I covered a new topic relative to the stack leading up to a NativeScript mobile application.
Each episode of this webinar was recorded and can be viewed for free here. This is some premium content!
An episode breakdown and project source code can be seen below.
Read MoreConvert An Uploaded Image To A Base64 String In Node.js
Not too long ago I wrote about uploading files to a Node.js server that was making use of the Multer middleware. In that scenario the files were saved to the file system and even though I didn’t demonstrate it, in theory the file metadata would be stored in a database. What if you wanted to store the files in a database as a base64 string instead of on the file system?
We’re going to take a look at what it would take to allow file uploads in Node.js and convert them into base64 strings for database storage.
Read MoreSearch
Recent Posts
- Test Password Strength and Password History with TypeScript and MongoDB
- Extract Text from Your PDF and Image Files with Apache Tika
- How to Install MongoDB on Ubuntu: A Step-by-Step Guide for Beginners
- Running MongoDB in Docker - A Complete Guide with Examples
- How to Design Nested Documents for a Blogging App