mensatoday / mensa-today Goto Github PK
View Code? Open in Web Editor NEWDaily mensa recommendations for students and lecturers in Münster/Germany.
License: GNU General Public License v3.0
Daily mensa recommendations for students and lecturers in Münster/Germany.
License: GNU General Public License v3.0
The homepage include basic information about the recommender system and the possibility to login. After the login another page should be displayed. The structure of the page should be discussed in upcoming sessions.
There should be a basic template page with a nav-bar and a footer where other subpages are based on
api call
For this also a new recommendations data table has to be created
to get the long and lat this api can be used: https://nominatim.openstreetmap.org/search?q=Leonardo-Campus 18&format=json&polygon=1&addressdetails=1
What data do we need and where do we get this data from
What to do in the frontend and backend
https://blog.logrocket.com/how-to-build-vue-js-app-django-rest-framework/#setting-up-cors-api-policy
how to identify user to make user-specific requests: CSRF / JWT tokens, session ID?
Highlight dish price red, if they are more expensive than card balance
"charge balance" if too low
if too low: card balance red
if 5€ (=1 meal): orange,
else card balance in nav green
Including saving into DB.
Login with username and password as well as a register function, where the user provides basic information. Other information about food preferences will be collected afterwards in a small quiz. Both should be saved in one data table called users or in two separate tables (to be discussed).
Including saving into DB.
Define general structure of django project and where to put python scripts
Without the proxy option no requests can be send. Therefore for each request proxy parameters has to be defined: https://www.scrapingbee.com/blog/python-requests-proxy/
The result should be a json list in the following format:
[
{
'id': int,
'name': str,
'mensa': str,
'date': date,
'overall_rating': float
}
]
Information about all Münster Mensen
It might be complicated to set up an https connection. Therefore I would recommend to encrypt the passwords. In vue.js the jsencyrpt plugin can be used: https://www.npmjs.com/package/jsencrypt
In python the encrypted string can be decrypted by the secret key. Here is shown how it can be done https://stackoverflow.com/a/57054030
learnweb courses -> course information (time, location, ...)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.