Help me get past my MEAN roadblock (pun intended)

Closed Posted 3 years ago Paid on delivery
Closed Paid on delivery

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

MEAN Stack

Project ID: #26861466

About the project

3 proposals Remote project Active 3 years ago

3 freelancers are bidding on average $153 for this job

vijendrasinn

I would absolutely love the chance to work on your MEAN stack! You can check out some of my work over at https://www.vimgir.co.in.

$156 CAD in 7 days
(0 Reviews)
0.0
anuragOjha16

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 More

$167 CAD in 7 days
(0 Reviews)
0.0