Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
makeee
· 6y ago · 0 comments
I generally use Next.js, Bulma, Firebase Auth, and Firestore. For more complex apps, will move Firestore behind a REST API and use react-query for data fetching/caching.
Comments
[–]
gitgud
6y ago
> will move Firestore behind a REST API
How do you do that? Do you spin up your own server?
[–]
makeee
OP
6y ago
With Next.js it's just a matter of dropping a file in the src/pages/api directory. So I'd create API files like create-user.js, update-user.js, etc.