React application with Express server
React application with Express server
This project send message to telegram if there is new event in openSEA site.
- monitor specified openSea Account
- If there is new activity, send message to telegram via telegram bot
- Telegram message will need to structured
username event_type NFT name price (ETH/USD) URL
- Don’t need a notification when they list something for sale or when they cancel something
Just success, transfer, and mint to begin
How to get telegram token
https://www.siteguarding.com/en/how-to-get-telegram-bot-api-token
Using this project
-
install the dependencies.
npm install
-
Create a
.env
file for environment variables in your server.touch .env
-
Start the server
You can start the server on its own with the command:
npm run server
Run the React application on its own with the command:
npm start
Run both applications together with the command:
npm run dev
The React application will run on port 3000 and the server port 3001.