Skip to content

marclabud/behandlungsjournal

Repository files navigation

Behandlungsjournal

Ein Online-Behandlungsjournal für kranke Tiere.

Technology stack

Behandlungsjournal is generated with angular-cli.

This project uses the MEAN stack:

  • Mongoose.js (MongoDB): database
  • Express.js: backend framework
  • Angular: frontend framework
  • Node.js: runtime environment
  • Angular CLI: to generate the project
  • Typescript: client and node-server: Both with same typescript version.
  • SASS: to process SASS-Sources in global framework and Angular-Components
  • Bootstrap Version 4: SASS-sources as base for layout and styles To work properly with webpack bootstrap loader is used (August 2017): npm install --save resolve-url-loader npm i --save bootstrap@next bootstrap-loader jquery npm i --save popper.js (needed for dropdown menues)
  • Font Awesome: icons

Prerequisites

  1. Install Node.js and MongoDB
  2. Install Angular CLI: npm i -g @angular/cli@7.0.3 : Install global and local.
  3. From project root folder install all the dependencies: npm i

Run

  1. Command window 1:
    Windows: mongod: run MongoDB
    Mac OS X: mongod --config /usr/local/etc/mongod.conf: run MongoDB
    Mac OS X homebrew: brew info mongo: How to run mongoDB
  2. Command window 2: ng build --watch: build the project and keep watching the files for changes
  3. Command window 3: npm start: run Express server
  4. Go to localhost:3000

Production

  1. Command window 1:
    Windows: mongod: run MongoDB
    Mac OS X: mongod --config /usr/local/etc/mongod.conf: run MongoDB
    Mac OS X homebrew: brew info mongo: How to run mongoDB
  2. Command window 2:
    a) npm run init : SASS-build, client-build for production, server-build
    b) npm start : run Express server
  3. Go to localhost:3000

Docker

  • docker.compose.yml for production build
  • docker.compose-dev.yml for development build
  • Docker Hub

Project is live

Behandlungsjournal live

Documentation

  1. Online-Behandlungsjournal
  2. REST-API
  3. Special Features

Authors