Home / Companies / CircleCI / Blog / Post Details
Content Deep Dive

Automating deployment of an AdonisJS API to Heroku

Blog post from CircleCI

Post Details
Company
Date Published
Author
Fikayo Adepoju
Word Count
2,548
Company Posts That Month
5
Language
English
Hacker News Points
-
Post removed?
No
Summary

Adonis.js, a popular Node.js web framework, is known for its developer-friendly API, scalability, and performance. This tutorial guides users through building a simple API with Adonis.js 5, deploying it to Heroku, and automating the process using CircleCI for continuous deployment. It begins with setting up a local Adonis.js project, configuring a SQLite database for development, and creating a User API with models and controllers. The tutorial then transitions to deploying the API on Heroku using a MySQL database, facilitated by the jawsDB add-on, and configuring it for production environments. Automation is achieved by creating a Heroku Procfile and a CircleCI configuration file, enabling seamless deployment whenever code changes are pushed to GitHub. The detailed guide emphasizes the use of environment variables to manage different configurations for development and production, providing a comprehensive walkthrough for setting up a robust automated deployment pipeline.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.