mohammedSlimani / issho

Final Academic project: Bring people together, Meetup alike app.
7 stars 0 forks source link

roots to get user, post by Id #63

Closed mouhcineToumi closed 4 years ago

mouhcineToumi commented 4 years ago

NodeApi is our database guard. Opening direct requests to the database is dangerous.

mohammedSlimani commented 4 years ago
mouhcineToumi commented 4 years ago

that sounds cool, it justifies. But how am I supposed to do it now ?? via elastic directly ??

mohammedSlimani commented 4 years ago

I think I am the one who should work on it. when I do that, you will have to verify the token

mohammedSlimani commented 4 years ago

The header authorization is "hehexd", If a request doesnt have it it means it is not from the node API The key can be changed afterwards. See #65