Help me get past my MEAN roadblock (pun intended)

已关闭 已发布的 3 年前 货到付款
已关闭 货到付款

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

项目ID: #26861466

关于项目

3个方案 远程项目 活跃的3 年前

有3名威客正在参与此工作的竞标,均价$153/小时

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 在7天内
(0条评论)
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 更多

$167 CAD 在7天内
(0条评论)
0.0