Skip to content

pavlovmedia/JumbaLiar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JumbaLiar

JumbaLiar is a frontend and backend that allows the user to quickly generate mockdata using dynamically generated express endpoints.

🚧 Work in Progress 🚧

Prerequisites

• Angular CLI (npm install @angular/cli -g if you do not already have it.)
• Docker Compose

Default Ports

• Backend http://localhost
• Frontend http://localhost:8086

Docker

Example docker-compose.yml

version: "3.8"
services:
  backend:
    build: ./backend
    restart: always
    container_name: jumbaliar-backend
    env_file:
      - .env
    volumes:
      - ./uploads:/node/uploads
    depends_on:
      - couchdb
    links:
      - "couchdb"
    ports:
      - 80:80
  frontend:
    build: ./frontend
    restart: always
    container_name: jumbaliar-frontend
    env_file:
      - .env
    depends_on:
      - couchdb
    ports:
      - 8086:80
  couchdb:
    image: couchdb
    restart: always
    container_name: couchdb
    env_file:
      - .env
    ports:
      - "5984:5984"
    volumes:
      - couchdb:/opt/couchdb/data
volumes:
  couchdb:

Example .env file

BACKEND_URL=http://localhost
COUCHDB_URL=couchdb:5984
COUCHDB_USER=admin
COUCHDB_PASSWORD=admin

Note

  • restart:always on the backend is essential to how the system works. Express must be restarted when new endpoints are added.
  • BACKEND_URL must match the URL of the backend.

TODO

  • Refer to Projects page for open issues and features

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published