Deploy a LoopBack API project using now.sh
In this lesson we will look at how to deploy our LoopBack API project using now.
We will install the now client, create an account and deploy our app.
now secrets features we will store our database connection url which we get by creating a free MongoDB Atlas database.
In order to simplify following deployments we will add a
now key to our
package.json where we use the
env parameters to configure our deployments. We will add some npm scripts so we can deploy our app in the desired way using
npm run now.