Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 545 Bytes

README.md

File metadata and controls

22 lines (14 loc) · 545 Bytes

Distributed Lock in NodeJS

This is a project demonstrating how you can implement distributed lock in NodeJS using:

  • Redis as a distributed store
  • xstate to manage state machines on the server-side

This project implements the high-level implementation described on the Redis manual here.

Development

Install all dependencies with:

npm install

Run the dev server:

npm run dev