2 ms·
> will move Firestore behind a REST API How do you do that? Do you spin up your own server?
by gitgud 6y ago
> will move Firestore behind a REST API
How do you do that? Do you spin up your own server?
- makeee 6y agoWith 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.