Search products of the many differents online stores and compare prices, get products of lower price
Get start AMABot and seach products
- Compare prices in the following Marketplace
- Amazon
- MercadoLibre
Search products use command /buscar <product> | ✔ |
Subcribe products command /subscribe <product> <price> | ✔ |
- NPM
- Nodejs v18
- Docker v20
- docker-compose v1.29.2
- Clone repo
git clone https://github.com/Deluxer/amabot.git
- Create Telegram bot.
To be able to create a bot is necessary to use BotFather of the telegram, follow the steps, and create a bot. You should be able to get a token from telegram.
-
Copy
.env.exampleto.env -
Set environment variables
AMABOT_TELEGRAM_TOKEN=<here telegram token>
....
....
- Start project
docker-compose up -d
If you don't want to use docker, then use the following commands, you must create PostgresSQL database and make connection.
Note: --force is used because 'nest-crawler' use an old version of @nestjs/common
# install
npm install --force
# development
npm run start
# watch mode
npm run start:dev
# production mode
npm run startClean code, run before each commit
npm run lint
- Nestjs
- Postgresql
- Scraping Amazon products with Nest-crawler
- axios
- nestjs-telegraf
- Build and Deploy On AWS using the free instance
- Route 53
- Load balancer
- EC2
json viewer pro see nice json format in browsers