africanpenguin / coffit Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Feel free to propose new names, modification to the actions or whatever we have in the next list:
From client to server:
From server to client:
I think it is too coupled to our current problem. Most of the cases can not be easily extendible, probably it is easier to create a CRUD for both tables. However, we can go with this and deal with the problems once they start happening.
About the user session, from the server side, we should be able to identify uniquely each WS connection, so we will need only a "login" event. To keep the session we can use a dictionary for now.
Ideally in our application you'll have to be able to log-in/authenticate yourself, in order to be able to do things like creating coffee batches, participating/enrolling in batches, and all sorts of stuff that may be implemented in the future and require some form of "authorization" (eg. an anonymous user can see batches, but cannot create a batch or participate in one without being logged in as an identified user of coffit).
The workflow that most people recommend over the internet for SPA's is:
Authorization
header (or any other place that may suit our needs).This method eliminates the need to store any session on the server side at all. We should later see how me can also integrate OAuth login in the application.
To play as my own devil's advocate though there is this guy, who says that JWT instead of session storage is dangerous and bad...
Problem
The current method to switch off the machine is: the human-relè (ask to @omelkonian through gitter to turn off).
This method is deprecated because is poorly reliable and with a high latency.
Solution
We need a API to remotely turn off the machine.
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.