neroze / ReactQuery-Example-live-update

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About


Languages

Language:JavaScript 35.7%Language:TypeScript 32.3%Language:CSS 21.6%Language:Dockerfile 6.0%Language:HTML 4.4%