Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
gitgud
· 6y ago · 0 comments
> will move Firestore behind a REST API
How do you do that? Do you spin up your own server?
Comments
[–]
makeee
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.