Skip to content

franciscosuca/mensaonline

Repository files navigation

#Mensa Online

Mensa Online is a web-based service for “Mensa Restaurant” based in Kamp-Lintfort target towards Hochschule RheinWaal University. This system is designed to be compatible with all the available mobile devices to provide service facility to restaurant and the customers as well. The service that is provided through our web-application for user is being able to view menu, pre-ordering, checking wallet, making payment, recharging wallet and redeeming cards. The Administrator of the restaurant can manage order, manage menu, manage invoice and account of user and generate report as well. In this project, we have targeted shortcomings of the similar applications for different universities and based on our research, we have developed an alternative system with new features. This project is developed using HTML/CSS, Vue.js JavaScript, PostgreSQL and Django Framework.

Prerequisites

Ensure that you have met the following requirements:

  • You have a <Windows/Mac/Linux> machine.
  • You have Node.js installed in your machine. Otherwise, click here to download it.
  • You have django installed in yout machine. Otherwise, click here to download it.

Installation

This version runs both servers locally. Follow the instructions below to run the project in your computer.

Run vue js project

A. Go to mensa-online>mensa-vue, and run the following command:

npm install

B. Install axios on mensa-vue folder:

npm install axios

C. Run the Vue project:

npm run dev

Run django project

A. Install django-webpack-loader:

pip install django-webpack-loader

B. Install rest framework:

pip install djangorestframework

C. Install django-cors-headers to allow request done via Ajax:

pip install django-cors-headers

D. Install crispy forms:

pip3 install --user django-crispy-forms pip install image

E. Go to mensa-online folder and run the following command:

python manage.py runserver

Contact

If you want to contact me you can reach me at franciscosusana2292@gmail.com.