How to connect React with firebase

how to connect React app with fire base real time database, read the values , edit values ,save the values to database of firebase from react