Help me get past my MEAN roadblock (pun intended)

I’m making a web-app with the MEAN stack ( mongodb, express, angular, node) that will be hosted on a Raspberry Pi. I have connected flow sensors to a kegerator (keg fridge) that will send data to MongoDB to record who drinks, and how much. (lol this way my housemates and I can drink out of a keg and know exactly who owes what).

So far I have user authentication and authorization set up, and im also able to get data from the sensors and log it into the database.

My problem: I need to connect the sensor data to the user that’s currently logged in. The idea is that users will log in, pour beer, and the data will be sent to their “account”

What I want to do is write a script in the express app that waits for a user to log in, then starts recording sensor data. However I don’t know how to do this!!!

I think my problem is that I don’t fully understand how routing and middleware all work together

Evner: MEAN Stack

Se mere: need help finishing work, help filling 501 paper work, help need work designer illustrator, pun intended example sentences, no pun intended meaning in hindi, no pun intended meaning examples, pun intended synonym, pun meaning, no pun intended meaning, i prefer my puns intended meaning in hindi, pun intended meaning in hindi, data entry work home delhi help, write script work linux server, security business plan intended work, write script help monitor health passwd file, offline data entry copy and past in to excel sheet work by home, what is mean by free lancer work, i m trying to find a website that will help me create my own website i m not technical so i need an easy to use one any suggesti, i need to write a letter for the justice of the court on behalf careing for my granddaughter i dont no what to write please help, i am an artist and need a sales person to sell my work so i can concentrate on my art

Om arbejdsgiveren:
( 0 bedømmelser ) Kingston, Canada

Projekt ID: #26861466

4 freelancere byder i gennemsnit $152 på dette job


Hi, I am very passionate to build from front-end to back-end and developed wide range of websites from simple to dynamic. Especially I have great expertise and enough experiences with building websites with Angular and Flere

$150 CAD på 1 dag
(0 bedømmelser)

I would absolutely love the chance to work on your MEAN stack! You can check out some of my work over at

$156 CAD in 7 dage
(0 bedømmelser)

hi I am mean stack developer, I read your description you want to know how your housemates drinks. and as far I understand your data already feed to mongo db and you want to save with according to logged in user I thin Flere

$167 CAD in 7 dage
(0 bedømmelser)
(0 bedømmelser)