The memberbeat-interface
project is a two-part application consisting of an Express.js backend and a React frontend. This project is designed to provide a seamless interface for interacting with the Memberbeat subscription management system.
- Backend: Built with Express.js, the backend handles API requests and communicates with the mongodb database.
- Frontend: Built with React, the frontend provides a user-friendly interface for managing subscriptions and interacting with the Memberbeat smart contracts utilizing "castorweb3/memberbeat-sdk-js" library.
- User Authentication and Authorization
- Subscription Management
- Real-time Updates and Notifications
- Integration with Memberbeat Smart Contracts
-
Install dependencies:
npm install
-
Create a
.env
file based on the.env.example
:cp .env.example .env
-
Set up the environment variables in the
.env
file.MONGO_URI=... # set the Mongo DB URI here PORT=5000 # set the backend port
-
Navigate to the
frontend
directory:cd frontend
-
Install dependencies:
npm install
-
Create a
.env
file based on the.env.example
:cp .env.example .env
-
Set up the environment variables in the
.env
file.REACT_APP_MEMBERBEAT_CONTRACT_ADDRESS=... # set the Memberbeat smart contract address
-
Navigate to the
backend
directory:cd backend
-
Start the backend server:
npm run dev
-
Navigate to the
frontend
directory:cd frontend
-
Start the frontend server:
npm run dev
Once both the backend and frontend servers are running, you can access the application through the frontend interface. The frontend will communicate with the backend to manage subscriptions and interact with the Memberbeat smart contracts.
We welcome contributions to the Memberbeat Interface project. If you have any issues, bug reports, or feature requests, please open an issue on GitHub or submit a pull request.
This project is licensed under the GPL-3.0 License - see the LICENSE file for details.