ReactQuery-Example-live-update

Overview

Example of React query

  • mongodb
  • Mongo Express
  • Express app / Nodejs App
  • React
  • React-query

Prototype to test reactquery background sync in action.

$ docker-compose up build
$ cd fe; yarn; yarn dev

check BE service @

http://localhost:3030

Run FE App @

http://localhost:5173

 $ cd fe && yarn && yarn dev

Browse Monog-express @

http://localhost:8081

  • create DB "appleDB"
  • create collection "tweets"
  • create new Document "{_id: 'sdfsd12323123', title: 'tweets 001'}"

// mongo-express app for adding new documents to mongo