Hacker News new | ask | show | jobs
by gitgud 2236 days ago
> will move Firestore behind a REST API

How do you do that? Do you spin up your own server?

1 comments

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.