Giter VIP home page Giter VIP logo

react-js-crud-firestore-example-'s Introduction

https://loizenai.com/reactjs-crud-firestore-example-firebase-tutorial/

Reactjs CRUD Firestore example – Firebase Tutorial

Reactjs CRUD Firestore example – Firebase Tutorial

Firestore is a NoSQL document database built for automatic scaling, high performance, and ease of application development. It supports offline mode so our app will work fine (write, read, listen to, and query data) whether device has internet connection or not, it automatically fetches changes from our database to Firebase Server. So In the tutorial, I introduce an example “Reactjs CRUD Firestore example”.

– I draw a fullstack overview diagram architecture from Reactjs frontend to Firestore. – I illustrate details about react-firestore CRUD operations. – I implement Reactjs application to do CRUD request (Post/Get/Put/Delete) to Firebase Firestore.

Overvier Architecture Diagram – Reactjs CRUD Firestore

Overvier Architecture Diagram – Reactjs CRUD Firestore

Reactjs CRUD Application is designed with 2 main layers:

– React.js components let you split the UI into independent, reusable pieces, and think about each piece in isolation. – Firestore Service is used by above React Components to fetch (Post/Put/Get/Delete) data to Firestore.

Reactjs CRUD Application defines 5 components:

  • Home.js is used serve as the landing page for your app.
  • AppNavbar.js is used to establish a common UI feature between components.
  • CustomerList.js is used to show all customers in the web-page
  • CustomerEdit.js is used to modify the existed customer
  • App.js uses React Router to navigate between components.

Integrative Project Goal between Reactjs CRUD Firestore

Reactjs Home page:

Reactjs Home page

Reactjs add data:

Reactjs add data

React Firebase CRUD Example – Adding customers

Reactjs List all data:

Reactjs List all data

Reactjs update data:

Reactjs update data

React Firebase Update customer

Reactjs delete a customer with id=2, check the Customer List after deleting:

Reactjs delete a customer

Check Firestore after do CRUD operations:

Check Firestore after do CRUD operations

Related post

react-js-crud-firestore-example-'s People

Contributors

loil avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.