Join egghead, unlock knowledge.

Want more egghead?

This lesson is for members. Join us? Get access to all 3,000+ tutorials + a community with expert developers around the world.

Unlock This Lesson
1×
Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.

Autoplay

    Deploy a LoopBack API project using now.sh

    loopbackLoopback
    ^3.0.0

    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.

    Using 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 name, alias and 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.