adhirkirtikar

Adhir Kirtikar

Posted on January 12, 2022

IMDb-MongoDb

IMDb-MongoDb

Overview of My Submission

This project is created for participating in MongoDB Atlas Hackathon on DEV in category "Choose Your Own Adventure" and to learn more about the modern database platform of MongoDB Atlas.

This is a simple Node.js Express web app in which you can search for movies based on various criteria and see the stats & details of the movies e.g. duration, language, ratings, Cast & Crew etc.
I have not learnt Node.js Express or pug before. I created a new project in Visual Studio, experimented with the base code created by VS and modified the code as required based on my requirements by googling for solutions.

  • This is a Node.js Express web app with only 2 routes: index & search.
  • The source code is in this repo IMDb-MongoDb.
  • The code uses Node.js native drivers for MongoDB and connects to a MongoDB database deployment which is Multi Region Replica Set of 12 nodes.
  • The database consists of data from IMDb sourced from a Kaggle dataset.
  • The app is packaged in a Docker container automagically using GitHub actions.
  • The docker container is deployed to 3-node Kubernetes cluster hosted on Civo using Helm charts with ArgoCD which was installed very easily and quickly in the Civo cluster.
  • The app endpoint is published via Traefik Ingress (again auto install in Civo cluster) and is embedded in the home page hosted on .xyz domain. (Note: There were issues with embedding the application link with the Weebly homepage editor, so the direct link for the application is as below. The xyz link gives "Bad Gateway" error some times.)
  • The webpage link for the application is IMDb-MongoDb.

Submission Category: Choose Your Own Adventure

  • I only wanted to learn MongoDB and participate in this challenge. The idea that I had for movies search app does not fit in to the other categories.

Link to Code

GitHub logo AdhirKirtikar / IMDb-MongoDb

IMDb movies web app for MongoDB Atlas Hackathon on DEV!

IMDb-MongoDb

Inspiration

This project is created for participating in MongoDB Atlas Hackathon on DEV in category "Choose Your Own Adventure" and to learn more about the modern database platform of MongoDB Atlas.

What it does

This is a simple Node.js Express web app in which you can search for movies based on various criteria and see the stats & details of the movies e.g. duration, language, ratings, Cast & Crew etc.

How I built it

  • This is a Node.js Express web app with only 2 routes: index & search.
  • The source code is in this repo IMDb-MongoDb.
  • The code uses Node.js native drivers for MongoDB and connects to a MongoDB database deployment which is Multi Region Replica Set of 12 nodes. (Update 20220124: Changed to MongoDB Free Tier)
  • The database consists of data from imdb sourced from a Kaggle dataset.
  • The app is packaged in a Docker

Additional Resources / Info

Video Demo: MongoDB Atlas Hackathon on DEV - iMovieDB

Kubernetes Dashboard
Civo Kubernetes Cluster
GitHub Actions
ArgoCD
MongoDB Atlas
MongoDB Collections
Movie Search App

💖 💪 🙅 🚩
adhirkirtikar
Adhir Kirtikar

Posted on January 12, 2022

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

DOGECART an ecommerce platform
atlashackathon DOGECART an ecommerce platform

January 13, 2022

IMDb-MongoDb
atlashackathon IMDb-MongoDb

January 12, 2022