Deploying a MERN Web-App to Heroku

Deploying a MERN Web-App to Heroku

This post builds upon the guide to developing projects in MERN stack that I posted a while back, you can find it here.

Heroku probably has the best free-tier service out there for hosting MERN stack web applications. Though it requires certain non-intuitive settings before you can go about deploying your app. This article will guide you through the process of deploying your web-app on Heroku.

  • We would be deploying the server and the frontend on the same deployment instance.
  • The database being used here is MongoDB Atlas.
  • This deployment uses npm instead of yarn for deployment.
Read more
Handling Global Variables in Flask

Handling Global Variables in Flask

The usage of the global keyword in pythonic development is discouraged, and for good reasons. It often becomes troublesome to keep track of global variable usage and assignment as the code file grows, and is almost impossible in very large code files. This creates issues in debugging, reading and understanding the functionality of different code blocks and understanding the workflow of the application under consideration.

Read more
Getting Started with MERN

Getting Started with MERN

MERN Stack implies the usage of the following technologies for full stack development:

  • MongoDB
  • ExpressJS
  • ReactJS
  • NodeJS

In this post, we’ll go through the basics and logistics of getting started with MERN development. I’ve limited the content of this post to the bare essentials, while learning MERN development from FreeCodeCamp. Resources for where are :

Read more
Guide to Deploying a Flask app on Heroku

Guide to Deploying a Flask app on Heroku

Heroku is a popular application deployment platform with a functional free tier of services, and Flask is populalar application development micro-framework in Python. The Heroku-Flask environment is one of the quickest ways to deploy a small application for testing, yet sadly, I did not find a single tutorial that covered all aspects of the deployment process without leaving room for a whole bunch of errors.

Hence, this guide.

Read more