Lessons from 7 self-taught coders who now work full time as software developers

How can you stay motivated while learning to code?  Studying web development is a path with many ups and downs. You might have one day where you figure out a tough problem and feel absolutely amazing. But then the very next day, you get stuck on a seemingly easy problem for hours. You end up feeling completely defeated. It’s often hard to see the light at the end of the tunnel. But when you’re in those tough, dark spots, try to find the motivation to hang in there.

Remind yourself of your ultimate goal in learning to code. Maybe it’s to get a better job, to provide for your family, or to find a more purposeful form of work.

These stories are not just for those trying to program for the first time.  These lessons also apply to the old-guard coders who need to update the skill set they have.  There is a different set of challenges when you are a .NET C# coder and you’re attempting to learn the JavaScript, Express, Node, Vue, Mongo, etc stack.  Simple things like async coding vs sync coding can drive you mad.  As you get better at the new skill you want to just drop your current gig and move on.  Do it gradually, this is a not a turn-the-switch moment.

Do a simple project for someone who needs it and is willing to work with you while you learn the issues your new skill. You may have to do the first one as a freebie to get some street cred as a developer.

Via: Lessons from 7 self-taught coders who now work full time as software developers

 

 

 

 

Using MongoDB on Node.js Application Using Mongoose — DZone Web Dev Zone

Image result for mongoose image

Introduction In this post, we are going to see how we can use MongoDB in our Node.js application with the help of the package Mongoose. We will also be covering some facts about MongoDB so that, as a reader, you will understand why we have chosen MongoDB as our backend. We will be going through some steps…

JavaScript, Node, MongoDB, Mongoose is a developer stack that is very popular.  If you can’t stand up or access a Mongo Server you can use NeDB which allows you to use a simple flat file for your JSON data.  One of NeDB’s advantages is that it uses most of the Mongo command structure.  You could develop using NeDB and when your ready move over to Mongo.  Some app’s are small enough that you can just leave them on NeDB.

via Using MongoDB on Node.js Application Using Mongoose — DZone Web Dev Zone

API Gateways, the Rosetta Stone for data

Services in a microservices architecture share some common requirements regarding authentication and transportation when they need to be accessible by external clients. API Gateway s provide a shared layer to handle differences between service protocols and fulfills the requirements of specific clients like desktop browsers, mobile devices, and legacy systems. Click to see all chapters…

API Gateways are the middle man in the Application-Data relationship.  They serve as a community hall where folks go to meet and talk to one another.  This community hall has a universal translator like on Star Trek that makes data understood by all the people in the room.   Developers don’t worry about XML/JSON because the gateway understands them both.   DBA don’t worry about formatting the data because the gateway loves to format stuff.

Have you ever been fustrated with Sri, OK Google or Alexa?  Gateway quality varies from one vendor to another.  Write your own in Node may be an alternative, I don’t know.  Let’s talk.

via Building an API Gateway using Node.js — RisingStack Engineering

GraphQL an alternative method to develop REST API’s

Facebook may not be the favorite company of the open web community, for some good reasons. But when it comes to open source, most developers take advantage of their tools, libraries, and frameworks in one way or another. In particular, Javascript (Node.js) and PHP have advanced by leaps and bounds largely thanks to Facebook’s contributions. […]

GraphQL is an alternative method of developing API’s to can use traditional SQL databases and the “Exotic” (1)  noSQL databases.  Like everything new, there is a learning curve.  There is an excellent course on YouTube from Traversy Media that covers the basics to intermediate use of GraphQL

This library has support for JavaScript, PHP, React and many other environments.  It’s worth a look-see, you never know.

(1) In a meeting recently where the prospect said this.  Along with “noSQL is not a standard and is not considered secure.”

via GraphQL, the future of APIs — AltPlatform

30 Second API mock servers using JSON-Server and Node, Quick and Dirty.

In the UK we have a chef called Jamie Oliver and over the years he has created lots of TV episodes and also a book on how to make a complete family meal in 30 Minutes – The premise of this, is that time doesn’t have to be an excuse not to make healthy food […]

There are times when you need a mock server for a REST API that returns JSON results and you need it now!!  This article goes over the process to create one on your local system which could be transferred to a server.    You create a JSON file, simple text file,  with the data in it and JSON-Server writes a full API service around it.  It can do all the CRUD you want and support queries.

There are a few restrictions like having a key field requirement in each table with the identical name.  (IE: _id) .  Most of my work requires using the key that was already in the database (ie: benficiaryID, providerNumber, DiagCode).  Moving this to a server will require some technical talent that many companies don’t have.

I have used Mockable IO to provide mock API services that are server based and need to be accessed by developers outside of a corporate firewall.  The free version is enough for most projects to get started.

No matter which mock server you use be prepared to take a considerable amount of time to mock up the results sets you expect the API service to provide.

 

 

 

 

 

via 30 Second APIs… — Danny Dainton