Skip to content
Mensa Web-App using Vue.js as frontend and Lumen by Laravel as backend
Vue PHP JavaScript CSS HTML
Branch: development
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
mclient
mserver
.gitignore
LICENSE.md
README.md

README.md

M

Introduction

A web-app which lists the menus of Berlin’s student cafeterias. The various configuration options not only help to sort the menus according to your personal taste or food allergies but also to highlight favorite meals.

Notice

This project hasn't been maintained in quite a long time and I'm currently trying to get this massive pile of outdated dependencies in order and clean up other mistakes I made then.

Long term goal is also to move the Laravel-server to express.js.

Client

Installing all dependencies:

npm install

Also check out API_URL in /mclient/webpack.dev.js so it for your dev-environment.

If you don't need a local API-Server, just put the production-link there.

Running local Server:

Host is per default 0.0.0.0 and therefore public in your local network. If you don't want this behavior change the host in the webpack.config.js to localhost.

npm run dev

Server

Long term goal is to move away from PHP

Prerequisites

You will need:

  1. PHP 71
  2. MongoDB driver for PHP
  3. npm
  4. Composer
	brew install php71
	brew install php71-mongodb
	echo 'extension="/usr/local/opt/php71-mongodb/mongodb.so"' >> /private/etc/php.ini
	brew install composer

Don't forget to run

	composer install

Running local Server:

Replace localhost with 0.0.0.0 if you want the server to be public in your local network.

php -S 0.0.0.0:8000 -t public

Merging into Production

git merge master
"Resolve any conflicts"
git checkout master
git merge development

Commits

Using gitmoji for all new commits.

You can’t perform that action at this time.