Sign inSign up

de1m/esspunkt60

By de1m

Updated over 5 years ago

You create a eatpoint and another colleague can add himself to this eatpoint.

Image
0

3.4K

de1m/esspunkt60 repository overview

Esspunkt60

screenshot

Description

This is a litle Web Application written in Node.js. The data are stored in MongoDb and the uploaded files (Images and PDF files) are saved on local disk.

With this web app you can create an eating day plan. For example you will eat today in a restaurant. You create a eatpoint and another colleague can add himself to this eatpoint.

Getting started

Requiments without Docker
  • Node > 6.0
  • Mongo

For start without docker you need to edit two files

"app/databases/index.js"

You can edit the file or you an set environment variables

    var mongoAddr = process.env.MONGOADDR || 'localhost';
    var mongoPort = process.env.MONGOPORT || '27017';
    var mongoDb   = process.env.MONGODB   || 'esspunkt60';
    var mongoUser = process.env.MONGOUSER || 'essen';
    var mongoPass = process.env.MONGOPASS || 'essen6003';
"app/public/js/app.js"
    var socketAddr = '_WEBSOCKETADDR_';
    var socketPort = '_WEBSOCKETPORT_';

WEBSOCKETADDR - Addresse of the server WEBSOCKETPORT - Port of websocket, equal the website port (80 or 443)

Requiments for Docker
  • Docker > 1.18

Show the file docker-compose.yaml Edit this file if needed.

      - WEBSOCKETADDR=mongo
      - WEBSOCKETPORT=5000
      - MONGOADDR=mongo
      - MONGOPORT=27017
      - MONGODB=esspunkt60
      - AUTH=false

If you need, you can enable mongo authentification (AUTH=true), use for this the variables "MONGOUSER=user" and "MONGOPASS=pass"

Tag summary

Content type

Image

Digest

Size

77.8 MB

Last updated

about 6 years ago

docker pull de1m/esspunkt60