Deploying AdonisJS 5 Application

Deploying AdonisJS 5 Application

21mins
5 lessons
Beginner
Start course

So you've built your first AdonisJS 5 application, but it's of no use remaining on your computer. It's time to showcase it to the world. This course is going to help you with that. It's not only going to show you how to take your application from your development machine to a production server but also some best practices required when running AdonisJS in production.

Throughout this course, we cover deploying to various platforms such as Heroku, DigitalOcean App Platform, Cleavr, and lastly directly to a VPS.

Preparing for deployment

We start the course by getting and setting up the source code of the project we'll be deploying.

In this lesson, we look at how the build process works, which is essential to be able to properly deploy an AdonisJS 5 application.

AdonisJS uses environment variables for most of its configuration settings. These variables are defined inside a dedicated file called .env that is directly in the project root.

The last step in preparing for deployment section will be to create a Git repository for the application, that way we can easily pull it into whatever platform we will be deploying to.

Deployments

13m 50s

In this lesson, we cover how to deploy an AdonisJS 5 application to Heroku.

*Course still in development. Do check back often for updates.

Chimezie Enyinnaya

Hi, I'm Chimezie Enyinnaya, your teacher.

I’m a self-taught software developer based in Lagos, Nigeria, with over 8 years of experience. In the last couple of years, I've been doing more teaching because I enjoy sharing my knowledge so that others can benefit from it. Come along as I teach you all I know about AdonisJS, Node.js, and JavaScript at large!