-
Install ResVault Chrome Extension
- Follow the instructions here.
- Ensure that the ResVault extension is connected to:
(You may substitute this URI with your own GraphQL server URI if needed.)
76.158.247.201:8070
-
Install Node.js and npm
- Refer to the official guide.
- Confirm installation by running:
npm -v
-
Clone the ResCash Repository
git clone https://github.com/quiet98k/resCash
-
Navigate to the Root Directory
cd resCash
-
Set Up the Frontend
- Navigate to the frontend directory (same name as the root directory):
cd resCash
- Install dependencies:
npm install
- Start the frontend server:
npm start
- Navigate to the frontend directory (same name as the root directory):
-
Set Up the Backend
- Open a new terminal and return to the root directory:
cd resCash
- Navigate to the backend directory:
cd backend
- Create a
.env
file with the following configuration:MONGODB_URI=mongodb://76.158.247.201:27017/ MONGODB_DB_NAME=resilientDB GRAPHQL_URI=http://76.158.247.201:8070/graphql CROW_SERVER_URI=http://76.158.247.201:18000/v1/transactions
- MONGODB_URI: MongoDB connection URI (customizable).
- MONGODB_DB_NAME: Database name.
- GRAPHQL_URI: GraphQL server URI (include the
/graphql
suffix). - CROW_SERVER_URI: Crow server URI (must match the GraphQL URI).
- Install backend dependencies:
npm install
- Start the backend server:
npm start
- Open a new terminal and return to the root directory:
-
Access the Application Open your browser and navigate to:
http://localhost:3000/
- Ensure all URIs are consistent between
.env
files and the ResVault extension.