How to Create a REST API with Node.JS in 5 Minutes

NodeJSIn this tutorial we are going to explain how to create a RESTful API with Node.JS/Express framework which is connected to a MySQL or MongoDB in 5 minutes. After this tutorial you will be able to generate and download full source code of your own API also if you like you could deploy to your cloud server with a few clicks too.

You don’t have to write single line of code for this tutorial, you will be auto-generating and downloading all necessary backend source code with API Plug‘s web interface.

Read more How to Create a REST API with Node.JS in 5 Minutes

Moving out from Parse to your own backend stack

parsetoapiplugParse was one the biggest and successful mBaaS solutions on the market. They bid us farewell last month, and  they decided to shutdown Parse service on January 28, 2017. As you can see on social media, developers using Parse for their mobile backend trying to find alternatives of that service.

There are two main options in this case:

  1. Moving to another hosted mBaaS solution
  2. Moving to your own Backend Stack

Moving to another hosted solution looks easiest way for most of the developers. There are plenty of these BaaS providers on the market and new ones are launching after Parse shutdown. No one knows that one day same thing could happen to these providers too.

As a team we always believed in ownership of critical components. With emergence of affordable platforms like DigitalOcean, Heroku, Azure and Amazon AWS, there is no reason to hold back from hosting and owning your own Data & API stack.

 

Options for moving to your own stack?

There are 3 options to own your own stack:

Read more Moving out from Parse to your own backend stack

Laravel5.2 + PHP 7 API Deployment Tutorial

apiplug_php_laravelAPI Plug allows you to create Laravel 5.2 and PHP7 API’s with a few click, now it is time to test it on your server.

 

Here is the tutorial for deploying your Laravel 5.2 and PHP7 API to your server.

TL;DR

Fast forward version

  • copy files to web server
  • adjust db credentials if needed
  • enjoy

  • We don't support MongoDB with PHP7 at the moment. We're working on the subject.

Read more Laravel5.2 + PHP 7 API Deployment Tutorial