Firestore is Google’s online database in the cloud that also supports some functions. It can handle user management too (with email/password and email verification as well as oauth logins for all kinds of stuff).
This is a tutorail for how to use it. I like React so it’s using create-react-app
and the Firebase CLI stuff to do the integration.
I use nvm
to install node
and npm
, then install the react and firebase tools, and finally create a react app and link it with Firebase:
npm install -g create-react-app # Global create-react-app install
npm install -g firebase-tools # Global install firebase tools
firebase login # Login to firebase
create-react-app testapp # Create a new react app
cd testapp
firebase init # Setup firebase for project