sdrabb / car2w0rk Goto Github PK
View Code? Open in Web Editor NEWcar sharing app to make trips from home to work cheaper and green ;)
License: GNU General Public License v3.0
car sharing app to make trips from home to work cheaper and green ;)
License: GNU General Public License v3.0
go to add trip page then by clicking save your trip button a POST request is sent to backend and the trip is saved into NO-SQL db.
retrieved trips format is the following:
[{"_id":"5e9332aa64ecec714790b952","date":"2020-04-12 17:10:44.802433","driver":"Andrea","passenger1":"Andrea","passenger2":"Andrea","passenger3":"Andrea","passenger4":"Andrea","__v":0},{"_id":"5e9332d264ecec714790b953","date":"2020-04-12 17:10:44.802433","driver":"Andrea","passenger1":"Andrea","passenger2":"Andrea","passenger3":"Andrea","passenger4":"Andrea","__v":0}]
create new credits page used to retrieve driver shift from the backend.
computeCredits response:
[{"subject":"Andrea","label":"Andrea_vs_Andrea: 0\nAndrea_vs_Daniele: 1\nAndrea_vs_Francesco: 1\nAndrea_vs_Alberto: 0\n","credits":2},{"subject":"Daniele","label":"Daniele_vs_Andrea: -1\nDaniele_vs_Daniele: 0\nDaniele_vs_Francesco: 0\nDaniele_vs_Alberto: -1\n","credits":-2},{"subject":"Francesco","label":"Francesco_vs_Andrea: -1\nFrancesco_vs_Daniele: 0\nFrancesco_vs_Francesco: 0\nFrancesco_vs_Alberto: 0\n","credits":-1},{"subject":"Alberto","label":"Alberto_vs_Andrea: 0\nAlberto_vs_Daniele: 1\nAlberto_vs_Francesco: 0\nAlberto_vs_Alberto: 0\n","credits":1
}]
Popup menu button doc: https://flutter.dev/docs/development/ui/widgets/material#Buttons
send an http POST req with id matching the one you want delete.
body: { id: "id_string"}
Support for more than one Team
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.