Y
Hacker News
new
|
ask
|
show
|
jobs
by
uyuioi
2245 days ago
Use firebase auth as the authentication layer. Then once a user is authed in just use mongodb as per usual in node or Postgres in rails, django etc
You pass the token to the DB via HTTPS decrypt and off you go.
2 comments
uyuioi
2245 days ago
Also. If you use the auth as a middleware on the routes you want authed, you’re can remove it later for passport or something else.
link
gt2
2245 days ago
Why not do use django or rails for auth with JWT/token based auth recommending to use them for the other parts?
link
uyuioi
2244 days ago
Considering OP states he’s not proficient in the backend. Leave auth to google. It’s just a middleware in Node so not a huge issue.
link