Y
Hacker News
new
|
ask
|
show
|
jobs
by
makeee
2236 days ago
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.
1 comments
gitgud
2236 days ago
> will move Firestore behind a REST API
How do you do that? Do you spin up your own server?
link
makeee
2236 days 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.
link
How do you do that? Do you spin up your own server?