Skip to content

Releases: MostafaOsmanFathi/express-url-shortener

v1.1 – HTTPS Support and Nginx Improvements

01 Jan 13:04

Choose a tag to compare

v1.1 – HTTPS Support and Nginx Improvements

This release adds HTTPS support and improves the Docker-Compose setup for development.

New Features

  • HTTPS support via a reverse proxy.

  • A dummy self-signed certificate is included for local testing.

    • Recommended to replace with your own certificate for development or production.
  • Frontend communicates with backend via /api/ path to avoid CORS issues.

  • Nginx cache can now be reset easily using Docker volumes.

  • MongoDB data volume can be reset to start with a fresh database.

Running the App with Docker Compose

To build and run the app:

# Build all containers
docker compose build

# Start the app
docker compose up -d

The app will be available at: https://localhost/

For local testing with the included self-signed certificate, you may need to accept the certificate warning in your browser.

Stopping and Cleaning Up

# Stop running containers
docker compose down

# Remove reverse proxy cache volume
docker volume rm express-url-shortener_reverse-proxy-cache

# Remove MongoDB data volume (resets database)
docker volume rm express-url-shortener_mongo_data

# Remove all containers, networks, and volumes defined in the Compose file
docker compose down -v

This version provides a ready-to-use development environment with HTTPS, proper reverse proxy routing, cache management, and easy MongoDB reset.

v1.0 – First Release

29 Dec 22:07

Choose a tag to compare

v1.0 – First Release

This is the first release of the web app.

  • Currently supports HTTP only.
  • HTTPS support will be added in the next release.

Running the App with Docker Compose

To build and run the app, use the following commands:

# Build the containers
docker-compose build

# Start the app
docker-compose up

The app will be available at: http://localhost

Stopping and Cleaning Up

# Stop running containers
docker-compose down

# Remove all stopped containers, networks, and volumes defined in the Compose file
docker-compose down -v