Skip to content

teixdavide/FEUP_SDLE_ShoppingList

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SDLE Shopping List

SDLE Shopping List T4G14.

Group members:

  1. Davide Texeira (up202109860@up.pt)
  2. Carlota Leite (up202005428@up.pt)
  3. Pedro Oliveira (up202108669@up.pt)

Running the application

Distributed DB

For the distributed database, we used Java. Inside the src code folder, there is a Main class that starts the application with 4 seeds nodes. New nodes can be added running different instances of the Node class. The code can be compiled and run easily using IntelliJ IDEA.

Frontend

To run the frontend, you'll need to have Node.js installed. Inside the client folder, run the following commands:

npm install zeromq express
node server.js

Then use this command to start chrome with the security disabled:

open -na "Google Chrome" --args --disable-web-security --user-data-dir="/tmp/chrome_dev"

And finally, open the index.html file in the browser.

About

🛒 | Local-First, Distributed Shopping List Manager (CRDT)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors