Skip to content

A Realtime todo app built with react, nodejs, pusher, prisma and sqlite

License

Notifications You must be signed in to change notification settings

logesh-kumar/pusher-in-worker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pusher-in-worker - WIP

A Realtime todo app built with react, react-query, nodejs, pusher, prisma and sqlite

To run the app, you need to run server and client seperately

  • Install pnpm to handle dependencies https://pnpm.io/installation
  • Create and configure .env files in both server and ui folder. You can make use of the .env.example files.

To run the nodejs server, Run the following commands

 pnpm i #Installs all dependencies 
 pnpm db #Run db migrations
 pnpm start  #Start the server

To run the react client, Run the following commands

 pnpm i #Installs all dependencies 
 pnpm dev #Start the client

You can see the pusher websocket connected from within a web worker. The gear icon denotes its from worker.

Screen Shot 2022-10-09 at 11 56 13 PM

About

A Realtime todo app built with react, nodejs, pusher, prisma and sqlite

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published