Skip to content

inpercima/mittagstisch

Repository files navigation

Mittagstisch

MIT license

Daily lunches from bistros in western Leipzig (Plagwitz and Lindenau) automatically collected and clearly displayed.

Prerequisites

Node, npm or pnpm

It's recommended to use nvm (Node version Manager).

  • node 24.14.0 or higher in combination with
    • npm 11.9.0 or higher or
    • pnpm 10.33.0 or higher, used in this repository

Install pnpm by running:

npm install -g [email protected]

Info for npm and pnpm

This repo uses pnpm as package manager. You can also use npm for your local work but changes will be made by pnpm only.

Angular CLI

  • @angular/cli 21.2.6 or higher

Install @angular/cli by running:

pnpm install -g @angular/cli@21

Java

  • jdk 21 or higher

Docker (when running services within docker)

  • docker 28.3.2 or higher

Getting started

Clone project

# clone project
git clone https://github.com/inpercima/mittagstisch/
cd mittagstisch

Read more

Check the documentation for each module/component. Each individual document describes the basic tasks for the module.

For frontend check mittagstisch - frontend.

For backend check mittagstisch - backend.

For docker check mittagstisch - docker.

Install tools

Some tools are both used by backend and frontend. Run the following command to install:

pnpm install

Starting the application in dev mode

For development you can use two separate terminals for starting backend and frontend separately. More can find in the specified README files in the separate folders.

You could also use following command in root folder to start in one single terminal:

pnpm start

Deploy the application

Server preparation

First you need to have Docker installed on the server.

Build process

Check for the existence of environment.prod.ts as described in Mittagstisch - frontend. Build the backend by using ./mvnw clean package.

Deployment

Copy following files to the server:

  • .env
  • dump.sql
  • docker-compose.yml and docker-compose.prod.yml
  • mittagstisch-<VERSION>-SNAPSHOT.jar
  • application-prod.yml

Modify the .env file for your needs. Modify the application-prod.yml for your needs.

Run

Run the compose files for prod mode as described in mittagstisch - docker.

About

Daily lunches from bistros in western Leipzig (Plagwitz and Lindenau) automatically collected and clearly displayed.

Topics

Resources

License

Stars

Watchers

Forks

Contributors