Below you will find pages that utilize the taxonomy term “MongoDB”
Hugo + Node.js Koa App Connected to MongoDB Part II
In part 2 of the series, we’re adding the site content to a search.json
file when the Hugo static site is built and importing it into a MongoDB collection. Then in the Node.js Koa app, we create an API endpoint that returns search results from the collection in MongoDB.
Hugo + Node.js Koa App Connected to MongoDB
This project demonstrates how to create a development environment utilizing a Docker stack of Nginx to serve the static website, Nodejs for the api applications, MongoDB for the api data and Traefik for reverse proxy. This stack is suitable for deployment to staging and production environments.