This project 🚀 serves as an example for implementing a client-server architecture to facilitate transfers 🔄 between various addresses. As there is only a single server 🖥️ in the background managing the transfers, it is evidently a highly centralized project. For the scope of this project, we won't be focusing on distributed consensus 🌐.
Integration of public key cryptography 🔐 has been achieved! Leveraging elliptic curve digital signatures 🔏, we ensure that the server only permits transfers authorized by the rightful owner of the associated address, thereby enhancing security and authenticity ✅.
The client folder contains a react app using vite. To get started, follow these steps:
- Open up a terminal in the
/client
folder - Run
npm install
to install all the depedencies - Run
npm run dev
to start the application - Now you should be able to visit the app at http://127.0.0.1:5173/
The server folder contains a node.js server using express. To run the server, follow these steps:
- Open a terminal within the
/server
folder - Run
npm install
to install all the depedencies - Run
node index
to start the server
The application should connect to the default server port (3042) automatically!
Hint - Use nodemon instead of node
to automatically restart the server on any changes.