Our applications up to this point have been fairly simple, storing information on the filesystem. However, in most cases you'll want it to be some sort of database instead of static files. We're going to be using Firebase, a cloud-based NoSQL database that plays well with JavaScript, but first, let's set up our React scaffold.
The starting line - creating a React app
We've gone through this setup a few times before, so it should be no surprise:
- Create a new React application with npx create-react-app restaurant-finder and we're ready to go!
- Test your setup with npm start and access http://localhost:3000.
Getting set up with Firebase
The first thing we want to do is set up our Firebase account.
Please keep in mind that the user interface for Firebase (as with most websites) does change periodically, so I won't be showing you screenshots for the signup process. If you run into any problems with the setup...