+
Skip to content

rexwithluv/mongo-verba

Repository files navigation

Mongo Verba

Node.js Express.js MongoDB Vue.js Docker Kubernetes

Mongo Verba is a simple web application for storing quotes. It allows users to add quotes with an author and optional notes, providing a practical environment for experimenting with MongoDB.

Getting started

Development (using Docker)

  1. Navigate to the project directory:

    cd mongo-verba
  2. Set up the environment variables:

    nano docker-compose.yaml
  3. Start the application with Docker:

    docker compose up -d --build

The frontend is available at http://localhost:2319 and the backend API is available at http://localhost:3000

Production (using Kubernetes)

  1. Navigate to the project directory:

    cd mongo-verba
  2. Setup the secrets:

    cp k8s/secrets.example.yaml k8s/secrets.yaml
    nano k8s/secrets.yaml
  3. Edit the Ingress to use your domain:

    nano k8s/ingress.yaml
  4. Start the application with Kubernetes:

    kubectl apply -f k8s/

The application will be available at https://your-domain.com/mongo-verba

Note: It's possible to enable or disable quote insertion independently on both the frontend and the backend. By default, it comes disabled on the backend and frontend. Edit the Dockerfiles according to your preference.

Future Enhancements

  • Add language switching options.
  • Save and read quotes from a text file or a CSV.

Known Issues

  • None at the moment!!

About

Simple web application to store quotes with minimalist frontend and ExpressJS & MongoDB backend.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors 2

  •  
  •  
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载