JulianGaibler / M

Mensa Web-App using Vue.js as frontend and Lumen by Laravel as backend

Home Page:https://m.jwels.berlin/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Mensa Web-App using Vue.js as frontend and Lumen by Laravel as backend

https://m.jwels.berlin/

License:Other


Languages

Language:Vue 60.3%Language:PHP 21.1%Language:JavaScript 11.6%Language:CSS 4.8%Language:HTML 2.2%