Code with Hugo Examples

Examples for codewithhugo.com

Subscribe at codewithhugo.com

See more + WIP examples at:

Table of Contents:

Express, Redis + Docker Compose setup

Article: A Docker/docker-compose setup with Redis and Node/Express

Repository: github.com/HugoDF/express-redis-docker

Docker Compose Local HTTPS/TLS/SSL

Article: Docker Compose Local HTTPS with nginx or Caddy and mkcert

Repository: github.com/HugoDF/docker-compose-local-https

Express Bull Queue ES6 Example

Article: Bring Redux to your queue logic: an Express setup with ES6 and bull queue

Repository: github.com/HugoDF/express-bull-es6

Express Testing Patterns with Supertest and Moxios

Article: Testing an Express app with SuperTest, moxios and Jest

Repository: github.com/HugoDF/express-supertest-moxios

Express Testing by mocking the request and response objects

Article: A guide to Express request and response mocking/stubbing with Jest or sinon

Repository: github.com/HugoDF/mock-express-request-response

Vue Multiple Components in a single file

Article: Writing multiple Vue components in a single file

Repository: github.com/HugoDF/vue-multiple-components-in-sfc

Parcel GitHub Pages Deploy

Article: Build and deploy a Vue/React/Vanilla JS app with Parcel and GitHub pages

Example: example.codewithhugo.com/parcel-gh-pages-deploy/

Repository: github.com/HugoDF/parcel-gh-pages-deploy/

JS GraphQL client example

Article: JavaScript GraphQL client requests in Node and the browser using graphql.js

Example: example.codewithhugo.com/js-graphql-client-example

Repository: github.com/HugoDF/js-graphql-client-example